get_bloginfo_rss( string $show = '' )
RSS container for the bloginfo function.
Contents
Description 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 See also
- get_bloginfo(): For the list of possible values to display.
Parameters Parameters
- $show
-
(string) (Optional) See get_bloginfo() for possible values.
Default value: ''
Return Return
(string)
Source Source
File: wp-includes/feed.php
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 ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.5.1 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Assigns the URL of your blog’s RSS2 feed to the variable $rss2_url.