$page->isChildOf()
Checks if the page is a child of the given page
Parameters
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\Page |string |
– |
Return type
bool
Checks if the page is a child of the given page
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\Page |string |
– |
bool