WordPress at a glance
function is not described

get_catname() WP 0.71

Deprecated in 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.

  • See: get_cat_name()

No Hooks.


String. category name


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

Code of get catname: wp-includes/deprecated.php VER 5.1.1

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