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

get_category_rss_link( bool $echo = false, int $cat_ID = 1 )

Print/Return link to category RSS2 feed.


Description Description

See also See also


Top ↑

Parameters Parameters

$echo

(bool) (Optional)

Default value: false

$cat_ID

(int) (Optional)

Default value: 1


Top ↑

Return Return

(string)


Top ↑

Source Source

File: wp-includes/deprecated.php

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

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

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Use get_category_feed_link()
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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