2020-05-02 / 5344阅 / 悠然
警告:此功能已被弃用。请改用term_exists()。
检查术语是否存在。
Top ↑
(int|string)
(Required)
The term to check
(string)
(Optional)
The taxonomy name to use
Default value: ''
(int)
(Required)
ID of parent term under which to confine the exists search.
(mixed) Get the term id or Term Object, if exists.