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