函数原型
comments_rss(): string
函数描述
Return link to the post RSS feed.
是否弃用
Warning: This function has been deprecated. Use get_post_comments_feed_link() instead.
函数参数
无
函数返回值
string
函数位置
File: wp-includes/deprecated.php.
函数源码
function comments_rss() {
_deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' );
return esc_url( get_post_comments_feed_link() );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.2.0 | Use get_post_comments_feed_link() |
| 1.5.0 | Introduced. |

