get_bloginfo_rss

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

WordPress Version: 6.1

/**
 * WordPress Feed API
 *
 * Many of the functions used in here belong in The Loop, or The Loop for the
 * Feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 2.1.0
 */
/**
 * Retrieves RSS container for the bloginfo function.
 *
 * You can retrieve anything that you can using the get_bloginfo() function.
 * Everything will be stripped of tags and characters converted, when the values
 * are retrieved for use in the feeds.
 *
 * @since 1.5.1
 *
 * @see get_bloginfo() For the list of possible values to display.
 *
 * @param string $show See get_bloginfo() for possible values.
 * @return string
 */
function get_bloginfo_rss($show = '')
{
    $info = strip_tags(get_bloginfo($show));
    /**
     * Filters the bloginfo for use in RSS feeds.
     *
     * @since 2.2.0
     *
     * @see convert_chars()
     * @see get_bloginfo()
     *
     * @param string $info Converted string value of the blog information.
     * @param string $show The type of blog information to retrieve.
     */
    return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}

WordPress Version: 5.5

/**
 * WordPress Feed API
 *
 * Many of the functions used in here belong in The Loop, or The Loop for the
 * Feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 2.1.0
 */
/**
 * RSS container for the bloginfo function.
 *
 * You can retrieve anything that you can using the get_bloginfo() function.
 * Everything will be stripped of tags and characters converted, when the values
 * are retrieved for use in the feeds.
 *
 * @since 1.5.1
 *
 * @see get_bloginfo() For the list of possible values to display.
 *
 * @param string $show See get_bloginfo() for possible values.
 * @return string
 */
function get_bloginfo_rss($show = '')
{
    $info = strip_tags(get_bloginfo($show));
    /**
     * Filters the bloginfo for use in RSS feeds.
     *
     * @since 2.2.0
     *
     * @see convert_chars()
     * @see get_bloginfo()
     *
     * @param string $info Converted string value of the blog information.
     * @param string $show The type of blog information to retrieve.
     */
    return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}

WordPress Version: 4.6

/**
 * WordPress Feed API
 *
 * Many of the functions used in here belong in The Loop, or The Loop for the
 * Feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 2.1.0
 */
/**
 * RSS container for the bloginfo function.
 *
 * You can retrieve anything that you can using the get_bloginfo() function.
 * Everything will be stripped of tags and characters converted, when the values
 * are retrieved for use in the feeds.
 *
 * @since 1.5.1
 * @see get_bloginfo() For the list of possible values to display.
 *
 * @param string $show See get_bloginfo() for possible values.
 * @return string
 */
function get_bloginfo_rss($show = '')
{
    $info = strip_tags(get_bloginfo($show));
    /**
     * Filters the bloginfo for use in RSS feeds.
     *
     * @since 2.2.0
     *
     * @see convert_chars()
     * @see get_bloginfo()
     *
     * @param string $info Converted string value of the blog information.
     * @param string $show The type of blog information to retrieve.
     */
    return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}

WordPress Version: 3.9

/**
 * WordPress Feed API
 *
 * Many of the functions used in here belong in The Loop, or The Loop for the
 * Feeds.
 *
 * @package WordPress
 * @subpackage Feed
 */
/**
 * RSS container for the bloginfo function.
 *
 * You can retrieve anything that you can using the get_bloginfo() function.
 * Everything will be stripped of tags and characters converted, when the values
 * are retrieved for use in the feeds.
 *
 * @since 1.5.1
 * @see get_bloginfo() For the list of possible values to display.
 *
 * @param string $show See get_bloginfo() for possible values.
 * @return string
 */
function get_bloginfo_rss($show = '')
{
    $info = strip_tags(get_bloginfo($show));
    /**
     * Filter the bloginfo for use in RSS feeds.
     *
     * @since 2.2.0
     *
     * @see convert_chars()
     * @see get_bloginfo()
     *
     * @param string $info Converted string value of the blog information.
     * @param string $show The type of blog information to retrieve.
     */
    return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}

WordPress Version: 3.7

/**
 * WordPress Feed API
 *
 * Many of the functions used in here belong in The Loop, or The Loop for the
 * Feeds.
 *
 * @package WordPress
 * @subpackage Feed
 */
/**
 * RSS container for the bloginfo function.
 *
 * You can retrieve anything that you can using the get_bloginfo() function.
 * Everything will be stripped of tags and characters converted, when the values
 * are retrieved for use in the feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 1.5.1
 * @uses apply_filters() Calls 'get_bloginfo_rss' hook with two parameters.
 * @see get_bloginfo() For the list of possible values to display.
 *
 * @param string $show See get_bloginfo() for possible values.
 * @return string
 */
function get_bloginfo_rss($show = '')
{
    $info = strip_tags(get_bloginfo($show));
    return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}