$haschildren->findPageOrDraft()
Finds a single published or draft child
Parameters
Name | Type | Default |
---|---|---|
$path * | string |
– |
Return type
Kirby\Cms\Page
|null
Parent class
Kirby\Cms\HasChildren
Finds a single published or draft child
Name | Type | Default |
---|---|---|
$path * | string |
– |
Kirby\Cms\Page
|null
Kirby\Cms\HasChildren