Warning: This function has been deprecated. Use get_cat_name() instead.

get_catname( int $cat_id ): string

Retrieve the category name by the category ID.


Description

Top ↑

See also


Top ↑

Parameters

$cat_id int Required
Category ID

Top ↑

Return

string category name


Top ↑

Source

File: wp-includes/deprecated.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Use get_cat_name()
0.71 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.