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
See also
Parameters
- $echo
-
(Optional)
Default value: false
- $cat_ID
-
(Optional)
Default value: 1
Return
(string)
Source
File: wp-includes/deprecated.php
function get_category_rss_link($echo = false, $cat_ID = 1) {
_deprecated_function( __FUNCTION__, 'WP-2.5.0', 'get_category_feed_link()' );
$link = get_category_feed_link($cat_ID, 'rss2');
if ( $echo )
echo $link;
return $link;
}
Changelog
Version | Description |
---|---|
WP-2.5.0 | Use get_category_feed_link() |
WP-1.2.0 | Introduced. This function has been deprecated. Use get_category_feed_link() instead. |