Skip to content

Kirby 5.1.3

$element->children()

Returns a list of all child elements

$element->children(): DOMNodeList

Return type

DOMNodeList

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

Parent class

Kirby\Parsley\Element