WordPress at a glance
Home All Function Functions Feeds

bloginfo_rss() WP 1.0

Display 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.

Works based on: get_bloginfo_rss()
Hooks from the function
Return

Null. Nothing.

Usage

bloginfo_rss( $show );
$show(string)
See get_bloginfo() for possible values.
Default: ''

Notes

  • See: get_bloginfo() For the list of possible values to display.

Changelog

Since 0.71 Introduced.

Code of bloginfo rss: wp-includes/feed.php WP 5.2.2

<?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 );
}

Related Functions

From tag: RSS

More from category: Feeds

No comments
    Hello, !     Log In . Register