Set changefreq (change frequency) by page
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->setChangefreqByPage($page, string $changefreq);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page, int | Page object or page ID integer |
changefreq | string |
Return value
self
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.236