rss_update_period WordPress Filter Hook
The rss_update_period hook allows you to specify the frequency at which your RSS feed is updated. This hook is useful if you want to ensure that your feed is always up-to-date, or if you want to control how often your feed is updated.
apply_filters( 'rss_update_period', string $duration ) #
Filters how often to update the RSS feed.
Contents
Parameters
- $duration
(string)The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly', 'yearly'. Default 'hourly'.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |