get_category_rss_link( bool $display = false, int $cat_id = 1 ): string

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

Print/Return link to category RSS2 feed.

Description

See also

Parameters

$displaybooloptional

Default:false

$cat_idintoptional

Default:1

Return

string

Source

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

Changelog

VersionDescription
2.5.0Use get_category_feed_link()
1.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.