Skip to content

Kirby 4.5.0

$page->childrenAndDrafts()

Returns all published and draft children at the same time

$page->childrenAndDrafts(): Kirby\Cms\Pages

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\Page