Skip to content

Kirby 4.4.1

$item->parent()

Returns the parent model

$item->parent(): Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\ModelWithContent

Parent class

Kirby\Cms\Item