$ordersPage->isAncestorOf()
Checks if the page is a direct or indirect ancestor of the given $page object
$ordersPage->isAncestorOf(Kirby\Cms\Page $child): bool
Parameters
| Name | Type | Default |
|---|---|---|
$child |
Kirby\Cms\Page |
- |
Return type
bool
Parent class
Wagnerwagner\Merx\OrdersPage inherited from Kirby\Cms\Page