首页 WordPress函数大全 get_cat_name()

get_cat_name()

2020-05-01 / 4790阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_cat_name( int $cat_id )

Retrieve the name of a category from its ID.

描述

参数

$cat_id

(int)
(Required)
Category ID

返回

(string) Category name, or an empty string if category doesn't exist.

大家谈论
    我的见解