Skip to content

Kirby 4.1.2

$haschildren->findPageOrDraft()

Finds a single published or draft child

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

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\HasChildren