Set changefreq by template
Possible values for $changefreq
argument:
- hourly or h
- daily or d
- weekly or w
- monthly or m
- yearly or y
- never or n
Usage
$self = $sitemap->setChangefreqByTemplate($template, string $changefreq);
Arguments
Name | Type(s) | Description |
---|---|---|
template | Template, string, int | Template object or template name |
changefreq | string |
Return value
self
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.236