get_catname()WP 0.71

Deprecated from version 2.8.0. It is no longer supported and can be removed in future releases. Use get_cat_name() instead.

Retrieve the category name by the category ID.

No Hooks.

Return

String. category name

Usage

get_catname( $cat_id );
$cat_id(int) (required)
Category ID

Notes

Changelog

Since 0.71 Introduced.
Deprecated since 2.8.0 Use get_cat_name()

get_catname() code WP 6.5.2

function get_catname( $cat_id ) {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_cat_name()' );
	return get_cat_name( $cat_id );
}