Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
wp-includes/link-template.php: get_category_feed_link() | Retrieves the feed link for a category. |
This function has been deprecated. Use get_category_feed_link() instead.
Print/Return link to category RSS2 feed.
(bool) (Optional)
Default value: false
(int) (Optional)
Default value: 1
(string)
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; }
Version | Description |
---|---|
2.5.0 | Use get_category_feed_link() |
1.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_category_rss_link