site()

Returns the site object in any situation

  • return ($site)

Example

<?= site()->title() ?>

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