Warning: This function has been deprecated. Use post_comments_feed_link() instead.
comments_rss_link() WordPress Function
The comments_rss_link() function displays the link to the current post's comments RSS feed. This function is useful for displaying the RSS feed link in the post meta data.
comments_rss_link( string $link_text = 'Comments RSS' ) #
Print RSS comment feed link.
Description
See also
Parameters
- $link_text
(string)(Optional)
Default value: 'Comments RSS'
Source
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);
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Use post_comments_feed_link() |
| 1.0.1 | Introduced. |