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

NameType(s)Description
$pagePage int string

Return value

$this

Object instance it was called from (method supports fluent interface).


$sitemap methods and properties

API reference based on ProcessWire core version 3.0.251