Merx

$productPage->isAncestorOf()

Checks if the page is a direct or indirect ancestor of the given $page object

$productPage->isAncestorOf(Kirby\Cms\Page $child): bool

Parameters

Name Type Default
$child Kirby\Cms\Page -

Return type

bool

Parent class

Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page