wordpress / latest / functions / comments_rss.html

comments_rss(): string

This function has been deprecated. Use get_post_comments_feed_link() instead.

Return link to the post RSS feed.

Description

See also

Return

string

Source

File: wp-includes/deprecated.php. View all references

function comments_rss() {
	_deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' );
	return esc_url( get_post_comments_feed_link() );
}

Uses

Uses Description

Changelog

Version Description
2.2.0 Use get_post_comments_feed_link()
1.5.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/comments_rss