wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_catname › WordPress Function

Since0.71
已弃用2.8.0
get_catname ( $cat_id )
参数:
  • (int) $cat_id Category ID
    Required: Yes
查看:
返回:
  • (string) category name
定义在:
文档:

Retrieve the category name by the category ID.



源码

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