函数原型
comments_rss_link( string $link_text = ‘Comments RSS’ )
函数描述
Print RSS comment feed link.
是否弃用
Warning: This function has been deprecated. Use post_comments_feed_link() instead.
函数参数
-
$link_text
string
Optional Default:
'Comments RSS'
函数返回值
无
函数位置
File: wp-includes/deprecated.php.
函数源码
function comments_rss_link($link_text = 'Comments RSS') {
_deprecated_function( __FUNCTION__, '2.5.0', 'post_comments_feed_link()' );
post_comments_feed_link($link_text);
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.5.0 | Use post_comments_feed_link() |
| 1.0.1 | Introduced. |

