WPDev.one
Core Function
View Source on Trac ↗

get_catname()

get_catname( mixed $cat_id )

Retrieve the category name by the category ID.

Parameters 1 required

Name / Type Description
$cat_id
int

Category ID

Required

Return Value

(string)
category name

Function Information

Since Version
0.71
Source File
wp-includes/deprecated.php
Advertisement