A WordPress-centric search engine for devs and theme authors



get_category_rss_link ›

Since1.2.0
Deprecated2.5.0
get_category_rss_link ( $echo = false, $cat_ID = 1 )
Parameters: (2)
  • (bool) $echo
    Required: No
    Default: false
  • (int) $cat_ID
    Required: No
    Default: 1
See:
Returns:
  • (string)
Defined at:
Codex:

Print/Return link to category RSS2 feed.



Source

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