get_category_rss_link()WP 1.2.0

Deprecated from version 2.5.0. It is no longer supported and can be removed in future releases. Use get_category_feed_link() instead.

Print/Return link to category RSS2 feed.

No Hooks.

Return

String.

Usage

get_category_rss_link( $display, $cat_ID );
$display(true|false)
-
Default: false
$cat_ID(int)
-
Default: 1

Notes

Changelog

Since 1.2.0 Introduced.
Deprecated Since 2.5.0 Use get_category_feed_link()

Code of get_category_rss_link() WP 6.0

function get_category_rss_link($display = false, $cat_ID = 1) {
	_deprecated_function( __FUNCTION__, '2.5.0', 'get_category_feed_link()' );

	$link = get_category_feed_link($cat_ID, 'rss2');

	if ( $display )
		echo $link;
	return $link;
}