Skip to content

Kirby 6.0.0

site()

Returns the current site object

site(): Site

Return type

Kirby\Cms\Site

Examples

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