W3cubDocs

/WordPress

comments_rss_link( string $link_text = 'Comments RSS' )

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

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

Changelog

Version Description
2.5.0 Use post_comments_feed_link()
1.0.1 Introduced.

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