Skip to content

Kirby 5.1.4

$hasChildren->children()

Returns all published children

$hasChildren->children(): Kirby\Cms\Pages

Return type

Kirby\Cms\Pages

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

Parent class

Kirby\Cms\HasChildren