rss_update_frequency filter-hookWP 2.1.0

Filters the RSS update frequency.

Usage

add_filter( 'rss_update_frequency', 'wp_kama_rss_update_frequency_filter' );

/**
 * Function for `rss_update_frequency` filter-hook.
 * 
 * @param string $frequency An integer passed as a string representing the frequency of RSS updates within the update period.
 *
 * @return string
 */
function wp_kama_rss_update_frequency_filter( $frequency ){

	// filter...
	return $frequency;
}
$frequency(string)
An integer passed as a string representing the frequency of RSS updates within the update period.
Default: '1'

Changelog

Since 2.1.0 Introduced.

Where the hook is called

In file: /wp-includes/feed-rss2.php
rss_update_frequency
wp-includes/feed-rss2.php 74
echo apply_filters( 'rss_update_frequency', $frequency );
wp-includes/feed-rss2-comments.php 62
echo apply_filters( 'rss_update_frequency', '1' );
wp-includes/feed-rdf.php 46
echo apply_filters( 'rss_update_frequency', '1' );

Where the hook is used in WordPress

Usage not found.