$content->language()

Return the language code for the content

  • return (string)

Example

<?= $page->content()->language() ?>

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