apply_filters( 'rss_update_period', string $duration )
Filters how often to update the RSS feed.
Parameters
-
$duration
string -
The update period. Accepts
'hourly'
,'daily'
,'weekly'
,'monthly'
,'yearly'
. Default'hourly'
.
Source
File: wp-includes/feed-rss2.php
.
View all references
echo apply_filters( 'rss_update_period', $duration );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |