Skip to content

Kirby 4.5.0

site()

Returns the current site object

site(): Kirby\Cms\Site

Return type

Kirby\Cms\Site

Example

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