Uses
Uses | Description |
---|---|
wp-includes/category.php: get_cat_name() | Retrieves the name of a category from its ID. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use get_cat_name() instead.
Retrieve the category name by the category ID.
(int) (Required) Category ID
(string) category name
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 ); }
Version | Description |
---|---|
2.8.0 | Use get_cat_name() |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_catname