bloginfo_rss() WordPress Function

The bloginfo_rss() function is used to display information about a blog in an RSS feed. This function can be used to display the blog title, description, link, and other information.

bloginfo_rss( string $show = '' ) #

Display RSS container for the bloginfo function.


Description

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.

Top ↑

See also


Top ↑

Parameters

$show

(string)(Optional)See get_bloginfo() for possible values.

Default value: ''


Top ↑

Source

File: wp-includes/feed.php

function bloginfo_rss( $show = '' ) {
	/**
	 * Filters the bloginfo for display in RSS feeds.
	 *
	 * @since 2.1.0
	 *
	 * @see get_bloginfo()
	 *
	 * @param string $rss_container RSS container for the blog information.
	 * @param string $show          The type of blog information to retrieve.
	 */
	echo apply_filters( 'bloginfo_rss', get_bloginfo_rss( $show ), $show );
}


Top ↑

Changelog

Changelog
VersionDescription
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.