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

Top ↑

See also


Top ↑

Return

(string)


Top ↑

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() );
}


Top ↑

Changelog

Changelog
VersionDescription
2.2.0Use get_post_comments_feed_link()
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More