Add page that should have its children excluded from render, even if $page itself is included
Usage
$self = $sitemap->removeParent($page);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page, int | Page object or ID |
Return value
self
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.236