bloginfo_rss filter-hookWP 2.1.0

Filters the bloginfo for display in RSS feeds.

Usage

add_filter( 'bloginfo_rss', 'wp_kama_bloginfo_rss_filter', 10, 2 );

/**
 * Function for `bloginfo_rss` filter-hook.
 * 
 * @param string $rss_container RSS container for the blog information.
 * @param string $show          The type of blog information to retrieve.
 *
 * @return string
 */
function wp_kama_bloginfo_rss_filter( $rss_container, $show ){

	// filter...
	return $rss_container;
}
$rss_container(string)
RSS container for the blog information.
$show(string)
The type of blog information to retrieve.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

bloginfo_rss()
bloginfo_rss
wp-includes/feed.php 67
echo apply_filters( 'bloginfo_rss', get_bloginfo_rss( $show ), $show );

Where the hook is used in WordPress

wp-includes/default-filters.php 259
add_filter( 'bloginfo_rss', 'ent2ncr', 8 );