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

Top ↑

See also


Top ↑

Parameters

$link_text

(string)(Optional)

Default value: 'Comments RSS'


Top ↑

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


Top ↑

Changelog

Changelog
VersionDescription
2.5.0Use post_comments_feed_link()
1.0.1Introduced.

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