Skip to content

Kirby 4.4.1

$page->findPageOrDraft()

Finds a single published or draft child

$page->findPageOrDraft(string $path): Kirby\Cms\Page|null

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\Page