get_category_rss_link()
最后更新于:2021-11-26 07:21:20
get_category_rss_link( bool$echo=false, int$cat_ID=1)Print/响应 link to category RSS2 feed.
参数
- $echo
-
(bool) (Optional)
Default value: false
- $cat_ID
-
(int) (Optional)
Default value: 1
响应
(string)
源文件
文件: gc-includes/deprecated.php
function get_category_rss_link($echo = false, $cat_ID = 1) {
_deprecated_function( __FUNCTION__, '2.5.0', 'get_category_feed_link()' );
$link = get_category_feed_link($cat_ID, 'rss2');
if ( $echo )
echo $link;
return $link;
}