Skip to content

Kirby 4.4.1

$page->id()

Returns the Page Id

$page->id(): string

Return type

string

Parent class

Kirby\Cms\Page

Example

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