wphooks.info - rss_update_period

rss_update_period

(trunk - 5.1-alpha-44286)

The hook occurs in the following 3 files

wp-includes/feed-rdf.php:
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	<description><?php bloginfo_rss( 'description' ); ?></description>
	<dc:date>
	<?php
		$date = get_lastpostmodified( 'GMT' );
		echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date ) : date( 'Y-m-d\TH:i:s\Z' );
	?>
	</dc:date>
	<sy:updatePeriod>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_period', 'hourly' );
	?>
	</sy:updatePeriod>
	<sy:updateFrequency>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_frequency', '1' );
	?>
	</sy:updateFrequency>
	<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
wp-includes/feed-rss2-comments.php:
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
	<description><?php bloginfo_rss( 'description' ); ?></description>
	<lastBuildDate>
	<?php
		$date = get_lastcommentmodified( 'GMT' );
		echo $date ? mysql2date( 'r', $date, false ) : date( 'r' );
	?>
	</lastBuildDate>
	<sy:updatePeriod>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_period', 'hourly' );
	?>
	</sy:updatePeriod>
	<sy:updateFrequency>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_frequency', '1' );
	?>
	</sy:updateFrequency>
	<?php
wp-includes/feed-rss2.php:
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
		$duration = 'hourly';

		/**
		 * Filters how often to update the RSS feed.
		 *
		 * @since 2.1.0
		 *
		 * @param string $duration The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly',
		 *                         'yearly'. Default 'hourly'.
		 */
		echo apply_filters( 'rss_update_period', $duration );
	?>
	</sy:updatePeriod>
	<sy:updateFrequency>
	<?php
		$frequency = '1';

		/**
		 * Filters the RSS update frequency.
		 *