get_catname()

最后更新于:2021-11-26 07:30:42

get_catname( int$cat_ID)

Retrieve the category name by the category ID.

参数

$cat_ID

(int) (Required) Category ID

响应

(string) category name

源文件

文件: gc-includes/deprecated.php

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