Skip to content

Kirby 5.1.3

$hasChildren->find()

Finds one or multiple published children by ID

$hasChildren->find(array|string ...$arguments): Kirby\Cms\Page|Kirby\Cms\Pages|null

Parameters

Name Type Default
...$arguments arrayorstring no default value

Return types

Kirby\Cms\PageorKirby\Cms\Pagesornull

This method modifies the existing $haschildren object it is applied to and returns it again.

Parent class

Kirby\Cms\HasChildren