Warning: This function has been deprecated. Use get_post_comments_feed_link() instead.
comments_rss() WordPress Function
The comments_rss() function is used to generate an RSS feed of the most recent comments on a WordPress site. This is a useful tool for keeping track of new comments and responding to them in a timely manner.
comments_rss() #
Return link to the post RSS feed.
Description
See also
Return
(string)
Source
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() );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Use get_post_comments_feed_link() |
| 1.5.0 | Introduced. |