the_excerpt_rss

The timeline below displays how wordpress function the_excerpt_rss has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Displays the post excerpt for the feed.
 *
 * @since 0.71
 */
function the_excerpt_rss()
{
    $output = get_the_excerpt();
    /**
     * Filters the post excerpt for a feed.
     *
     * @since 1.2.0
     *
     * @param string $output The current post excerpt.
     */
    echo apply_filters('the_excerpt_rss', $output);
}

WordPress Version: 4.6

/**
 * Display the post excerpt for the feed.
 *
 * @since 0.71
 */
function the_excerpt_rss()
{
    $output = get_the_excerpt();
    /**
     * Filters the post excerpt for a feed.
     *
     * @since 1.2.0
     *
     * @param string $output The current post excerpt.
     */
    echo apply_filters('the_excerpt_rss', $output);
}

WordPress Version: 3.9

/**
 * Display the post excerpt for the feed.
 *
 * @since 0.71
 */
function the_excerpt_rss()
{
    $output = get_the_excerpt();
    /**
     * Filter the post excerpt for a feed.
     *
     * @since 1.2.0
     *
     * @param string $output The current post excerpt.
     */
    echo apply_filters('the_excerpt_rss', $output);
}

WordPress Version: 3.7

/**
 * Display the post excerpt for the feed.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 0.71
 * @uses apply_filters() Calls 'the_excerpt_rss' hook on the excerpt.
 */
function the_excerpt_rss()
{
    $output = get_the_excerpt();
    echo apply_filters('the_excerpt_rss', $output);
}