$page->intendedTemplate()

Returns the name of the intended template. This is the name of the content text file.

  • return (string)

Example

<?php
echo $page->intendedTemplate();
?>

Is something missing or incorrect? Edit this page on Github…