wpseek.com
WordPress开发者和主题制作者的搜索引擎



bloginfo_rss › WordPress Function

Since0.71
已弃用n/a
bloginfo_rss ( $show = '' )
参数:
  • (string) $show See get_bloginfo() for possible values.
    Required: No
    默认: (empty)
查看:
定义在:
文档:

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


源码

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