$site->findPageOrDraft() Finds a single published or draft child kirby/src/Cms/HasChildren.php#L143 $site->findPageOrDraft(string $path): Kirby\Cms\Page|null Parameters Name Type Default $path * string – Return type Kirby\Cms\Page|null Parent class Kirby\Cms\Site