Skip to content

Kirby 4.4.1

Find::page()

Returns the page object for the given id

Find::page(string $id): Kirby\Cms\Page|null

Parameters

Name Type Default Description
$id * string Page's id

Return type

Kirby\Cms\Page|null

Exceptions

Type Description
Kirby\Exception\NotFoundException if the page cannot be found

Parent class

Kirby\Cms\Find