Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

phtml for {{ content() }}

Is there a phtml equivalent for this...

{{ content() }}

edited Dec '16

I don't use phtml but try:

<?php echo $this->getContent(); ?>

Also if should be able to do this:

<?= $this->getContent() ?>

Both those work. Thanks.

PHTML is nothing more but pure PHP/HTML plain code/text. That's why any output needs to be sent via regular PHP functions.