Add hidden or removed page that you still want to be used as a parent (i.e. have children included)
Usage
$self = $sitemap->addParent($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