On this page
bloginfo_rss( string $show = '' )
Displays 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.
See also
- get_bloginfo() : For the list of possible values to display.
Parameters
$showstring Optional-
See get_bloginfo() for possible values.
More Arguments from get_bloginfo( ... $show )
Site info to retrieve. Default empty (site name).Default:
''
Source
File: wp-includes/feed.php. View all references
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 );
}
Hooks
- apply_filters( 'bloginfo_rss',
string $rss_container ,string $show ) -
Filters the bloginfo for display in RSS feeds.
Related
Uses
| Uses | Description |
|---|---|
| get_bloginfo_rss() wp-includes/feed.php | Retrieves RSS container for the bloginfo function. |
| apply_filters() wp-includes/plugin.php | Calls the callback functions that have been added to a filter hook. |
Used By
| Used By | Description |
|---|---|
| export_wp() wp-admin/includes/export.php | Generates the WXR export file for download. |
Changelog
| Version | Description |
|---|---|
| 0.71 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/bloginfo_rss