首页 WordPress函数大全 get_taxonomy()

get_taxonomy()

2020-05-01 / 3464阅 / 悠然

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

get_taxonomy( string $taxonomy )

Retrieves the taxonomy object of $taxonomy.

描述

The get_taxonomy function will first check that the parameter string given is a taxonomy object and if it is, it will return it.

参数

$taxonomy

(string)
(Required)
Name of taxonomy object to return.

返回

(WP_Taxonomy|false) The Taxonomy Object or false if $taxonomy doesn't exist.

大家谈论
    我的见解