Skip to content

Kirby 4.1.2

$page->id()

Returns the Page Id

$page->id(): string

Return type

string

Parent class

Kirby\Cms\Page

Example

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