Merx

$productPage->parentModel()

Returns the parent model, which can either be another Page or the Site

$productPage->parentModel(): Kirby\Cms\Page|Kirby\Cms\Site

Return type

Kirby\Cms\Page or Kirby\Cms\Site

Parent class

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