首页 WordPress函数大全 register_taxonomy_for_object_type()

register_taxonomy_for_object_type()

2020-05-02 / 5254阅 / 悠然

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

register_taxonomy_for_object_type( string $taxonomy, string $object_type )

将已注册的分类法添加到对象类型。

描述

参数

$taxonomy

(string)
(Required)
Name of taxonomy object.

$object_type

(string)
(Required)
Name of the object type.

返回

(bool) True if successful, false if not.

大家谈论
    我的见解