$content->language()

Return the language code for the content

  • return (string)

Example

<?php echo $page->content()->language() ?>