Skip to content

Kirby 4.4.1

site()

Returns the current site object

site(): Kirby\Cms\Site

Return type

Kirby\Cms\Site

Example

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