Make WordPress Core


Ignore:
Timestamp:
09/20/2013 10:09:08 PM (13 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-includes/feed-rss.php.

Props dustyf.
See #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-rss.php

    r19784 r25529  
    1818        <docs>http://backend.userland.com/rss092</docs>
    1919        <language><?php bloginfo_rss( 'language' ); ?></language>
    20         <?php do_action('rss_head'); ?>
     20
     21        <?php
     22        /**
     23         * Fires at the end of the RSS Feed Header.
     24         *
     25         * @since 2.0.0
     26         */
     27        do_action( 'rss_head' );
     28        ?>
    2129
    2230<?php while (have_posts()) : the_post(); ?>
     
    2533                <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    2634                <link><?php the_permalink_rss() ?></link>
    27                 <?php do_action('rss_item'); ?>
     35                <?php
     36                /**
     37                 * Fires at the end of each RSS feed item.
     38                 *
     39                 * @since 2.0.0
     40                 */
     41                do_action( 'rss_item' );
     42                ?>
    2843        </item>
    2944<?php endwhile; ?>
Note: See TracChangeset for help on using the changeset viewer.