get_catname

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

WordPress Version: 6.2

/**
 * Retrieve the category name by the category ID.
 *
 * @since 0.71
 * @deprecated 2.8.0 Use get_cat_name()
 * @see get_cat_name()
 *
 * @param int $cat_id Category ID
 * @return string category name
 */
function get_catname($cat_id)
{
    _deprecated_function(__FUNCTION__, '2.8.0', 'get_cat_name()');
    return get_cat_name($cat_id);
}

WordPress Version: 4.6

/**
 * Retrieve the category name by the category ID.
 *
 * @since 0.71
 * @deprecated 2.8.0 Use get_cat_name()
 * @see get_cat_name()
 *
 * @param int $cat_ID Category ID
 * @return string category name
 */
function get_catname($cat_ID)
{
    _deprecated_function(__FUNCTION__, '2.8.0', 'get_cat_name()');
    return get_cat_name($cat_ID);
}

WordPress Version: 4.4

/**
 * Retrieve the category name by the category ID.
 *
 * @since 0.71
 * @deprecated 2.8.0 Use get_cat_name()
 * @see get_cat_name()
 *
 * @param int $cat_ID Category ID
 * @return string category name
 */
function get_catname($cat_ID)
{
    _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
    return get_cat_name($cat_ID);
}

WordPress Version: 3.9

/**
 * Retrieve the category name by the category ID.
 *
 * @since 0.71
 * @deprecated 2.8.0
 * @deprecated Use get_cat_name()
 * @see get_cat_name()
 *
 * @param int $cat_ID Category ID
 * @return string category name
 */
function get_catname($cat_ID)
{
    _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
    return get_cat_name($cat_ID);
}

WordPress Version: 3.7

/**
 * Retrieve the category name by the category ID.
 *
 * @since 0.71
 * @deprecated 2.8
 * @deprecated Use get_cat_name()
 * @see get_cat_name()
 *
 * @param int $cat_ID Category ID
 * @return string category name
 */
function get_catname($cat_ID)
{
    _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
    return get_cat_name($cat_ID);
}