get_bloginfo_rss()
最后更新于:2021-11-26 06:05:20
get_bloginfo_rss( string$show=”)RSS container for the bloginfo function.
参数
- $show
-
(string) (Optional) See get_bloginfo() for possible values.
Default value: ”
响应
(string)
源文件
文件: gc-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 );
}