get_the_title_rss

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

WordPress Version: 6.1

/**
 * Retrieves the current post title for the feed.
 *
 * @since 2.0.0
 *
 * @return string Current post title.
 */
function get_the_title_rss()
{
    $title = get_the_title();
    /**
     * Filters the post title for use in a feed.
     *
     * @since 1.2.0
     *
     * @param string $title The current post title.
     */
    return apply_filters('the_title_rss', $title);
}

WordPress Version: 5.5

/**
 * Retrieve the current post title for the feed.
 *
 * @since 2.0.0
 *
 * @return string Current post title.
 */
function get_the_title_rss()
{
    $title = get_the_title();
    /**
     * Filters the post title for use in a feed.
     *
     * @since 1.2.0
     *
     * @param string $title The current post title.
     */
    return apply_filters('the_title_rss', $title);
}

WordPress Version: 4.6

/**
 * Retrieve the current post title for the feed.
 *
 * @since 2.0.0
 *
 * @return string Current post title.
 */
function get_the_title_rss()
{
    $title = get_the_title();
    /**
     * Filters the post title for use in a feed.
     *
     * @since 1.2.0
     *
     * @param string $title The current post title.
     */
    $title = apply_filters('the_title_rss', $title);
    return $title;
}

WordPress Version: 3.9

/**
 * Retrieve the current post title for the feed.
 *
 * @since 2.0.0
 *
 * @return string Current post title.
 */
function get_the_title_rss()
{
    $title = get_the_title();
    /**
     * Filter the post title for use in a feed.
     *
     * @since 1.2.0
     *
     * @param string $title The current post title.
     */
    $title = apply_filters('the_title_rss', $title);
    return $title;
}

WordPress Version: 3.7

/**
 * Retrieve the current post title for the feed.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 2.0.0
 * @uses apply_filters() Calls 'the_title_rss' on the post title.
 *
 * @return string Current post title.
 */
function get_the_title_rss()
{
    $title = get_the_title();
    $title = apply_filters('the_title_rss', $title);
    return $title;
}