WireSitemapXML::setRootPage() method
Set the root (starting) page for sitemap
Use this only if starting from something other than the homepage.
Usage
$sitemap->setRootPage($page);Arguments
| Name | Type(s) | Description |
|---|---|---|
$page | Page int string |
Return value
$thisObject instance it was called from (method supports fluent interface).
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.253