Merx

$productPage->parentId()

Returns the parent id, if a parent exists

$productPage->parentId(): null|string

Return type

null or string

Parent class

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