Set changefreq by multiple templates at once
Example
$sitemap->siteChangefreqByTemplates([
'basic-page' => 'daily',
'home' => 'hourly',
'blog-post' => 'weekly',
]);
Usage
$self = $sitemap->setChangefreqByTemplates(array $changefreqsByTemplate);
Arguments
Name | Type(s) | Description |
---|---|---|
changefreqsByTemplate | array | Array of [ 'template-name' => changefreq ] |
Return value
self
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.236