Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: rss_update_frequency

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
44      <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
45      <description><?php bloginfo_rss("description") ?></description>
46      <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate>
47      <sy:updatePeriod><?php
48           /** This filter is documented in wp-includes/feed-rss2.php */
49           echo apply_filters( 'rss_update_period', 'hourly' );
50      ?></sy:updatePeriod>
51      <sy:updateFrequency><?php
52           /** This filter is documented in wp-includes/feed-rss2.php */
53           echo apply_filters( 'rss_update_frequency', '1' );
54      ?></sy:updateFrequency>
55      <?php
56      /**
57       * Fires at the end of the RSS2 comment feed header.
58       *
59       * @since 2.3.0
60       */
61      do_action( 'commentsrss2_head' );
62