WireSitemapXML::removeTemplate() method

Remove all pages using given template from the sitemap

Usage

$self = $sitemap->removeTemplate($template);

Arguments

NameType(s)Description
$templatestring int Template

Return value

self


$sitemap methods and properties

API reference based on ProcessWire core version 3.0.252