WordPress开发函数bloginfo_rss(),显示bloginfo函数的RSS容器。
bloginfo_rss( string $show = '' )
可以使用get_bloginfo()函数检索任何可以检索的内容。当检索到在提要中使用的值时,所有的标记和转换的字符都将被删除。
get_bloginfo():用于显示可能的值列表。
$show
(string) (可选) 查看get_bloginfo()以获得可能的值。
默认值: ''
文件: 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 );
}