Skip to content

Kirby 4.5.0

$page->id()

Returns the Page Id

$page->id(): string

Return type

string

Parent class

Kirby\Cms\Page

Example

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