get_catname( int $cat_id ): string

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

Retrieve the category name by the category ID.

Description

See also

get_cat_name()

Parameters

$cat_id

int

Required

Category ID

Return

string category name

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 );

}

Leave a Reply

Your email address will not be published. Required fields are marked *