get_bloginfo_rss() – RSS container for the bloginfo function.

You appear to be a bot. Output may be restricted

Description

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.

Usage

$string = get_bloginfo_rss( $show );

Parameters

$show
( string ) optional – See get_bloginfo() for possible values.

Returns

string

Source

File name: wordpress/wp-includes/feed.php
Lines:

1 to 15 of 15
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 );
}
 

 View on GitHub View on Trac