wpseek.com
A WordPress-centric search engine for devs and theme authors



get_catname › WordPress Function

Since0.71
Deprecated2.8.0
get_catname ( $cat_id )
Parameters:
  • (int) $cat_id Category ID
    Required: Yes
See:
Returns:
  • (string) category name
Defined at:
Codex:

Retrieve the category name by the category ID.



Source

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