get_catname()
Deprecated since 2.8.0. It is no longer supported and may be removed in future releases. Use get_cat_name() instead.
Retrieve the category name by the category ID.
No Hooks.
Returns
String. category name
Usage
get_catname( $cat_id );
- $cat_id(int) (required)
- Category ID.
Notes
- See: get_cat_name()
Changelog
| Since 0.71 | Introduced. |
| Deprecated since 2.8.0 | Use get_cat_name() |
get_catname() get catname code WP 6.8.3
function get_catname( $cat_id ) {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_cat_name()' );
return get_cat_name( $cat_id );
}