函数原型
bloginfo_rss( string $show = ” )
函数描述
Displays RSS container for the bloginfo function.
是否弃用
未弃用
函数参数
-
$show
string
Optional - See get_bloginfo() for possible values.
More Arguments from get_bloginfo( … $show )
Site info to retrieve. Default empty (site name).
Default:
''
函数返回值
无
函数位置
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 );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 0.71 | Introduced. |

