Skip to content

Kirby 4.4.1

$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() ?>