get_category_rss_link

The timeline below displays how wordpress function get_category_rss_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.2

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0 Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $display
 * @param int $cat_id
 * @return string
 */
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;
}

WordPress Version: 6.1

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0 Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $display
 * @param int $cat_ID
 * @return string
 */
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;
}

WordPress Version: 4.6

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0 Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $echo
 * @param int $cat_ID
 * @return string
 */
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;
}

WordPress Version: 4.4

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0 Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $echo
 * @param int $cat_ID
 * @return string
 */
function get_category_rss_link($echo = false, $cat_ID = 1)
{
    _deprecated_function(__FUNCTION__, '2.5', 'get_category_feed_link()');
    $link = get_category_feed_link($cat_ID, 'rss2');
    if ($echo) {
        echo $link;
    }
    return $link;
}

WordPress Version: 4.1

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0
 * @deprecated Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $echo
 * @param int $cat_ID
 * @return string
 */
function get_category_rss_link($echo = false, $cat_ID = 1)
{
    _deprecated_function(__FUNCTION__, '2.5', 'get_category_feed_link()');
    $link = get_category_feed_link($cat_ID, 'rss2');
    if ($echo) {
        echo $link;
    }
    return $link;
}

WordPress Version: 3.9

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2.0
 * @deprecated 2.5.0
 * @deprecated Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $echo
 * @param int $cat_ID
 * @return string|null
 */
function get_category_rss_link($echo = false, $cat_ID = 1)
{
    _deprecated_function(__FUNCTION__, '2.5', 'get_category_feed_link()');
    $link = get_category_feed_link($cat_ID, 'rss2');
    if ($echo) {
        echo $link;
    }
    return $link;
}

WordPress Version: 3.7

/**
 * Print/Return link to category RSS2 feed.
 *
 * @since 1.2
 * @deprecated 2.5
 * @deprecated Use get_category_feed_link()
 * @see get_category_feed_link()
 *
 * @param bool $echo
 * @param int $cat_ID
 * @return string|null
 */
function get_category_rss_link($echo = false, $cat_ID = 1)
{
    _deprecated_function(__FUNCTION__, '2.5', 'get_category_feed_link()');
    $link = get_category_feed_link($cat_ID, 'rss2');
    if ($echo) {
        echo $link;
    }
    return $link;
}