Skip to content

Kirby 4.5.0

$site->id()

Each model must return a unique id

$site->id(): string|null

Return type

string|null

Parent class

Kirby\Cms\Site inherited from Kirby\Cms\ModelWithContent

Example

<?= $site->id() ?>