Skip to content

Kirby 3.5.7.1

$kirby->page()

Returns any page from the content folder

$kirby->page(string $id = null, \Kirby\Cms\Page|\Kirby\Cms\Site|null $parent = null, bool $drafts = true): Kirby\Cms\Page|null

Parameters

Name Type Default
$id string null
$parent Kirby\Cms\Page|Kirby\Cms\Site|null null
$drafts bool true

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\App