Warning: This function has been deprecated. Use get_cat_name() instead.
get_catname( int $cat_ID )
Retrieve the category name by the category ID.
Description Description
See also See also
Parameters Parameters
- $cat_ID
-
(int) (Required) Category ID
Return Return
(string) category name
Source Source
File: wp-includes/deprecated.php
function get_catname( $cat_ID ) { _deprecated_function( __FUNCTION__, '2.8.0', 'get_cat_name()' ); return get_cat_name( $cat_ID ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Use get_cat_name() |
0.71 | Introduced. |