$roots->site()

Returns the root of the site folder

  • return (string)

Example

<?= kirby()->roots()->site() ?>

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