get_category_rss_link()
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() |
get_category_rss_link() get category rss link code WP 6.7.1
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; }