Skip to content

Kirby 5.1.4

$hasChildren->grandChildren()

Returns a collection of all published children of published children

$hasChildren->grandChildren(): 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