📜  如果发布检查类别 wordpress - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:16.103000             🧑  作者: Mango

代码示例1
//'10' is the term ID, 'event category' is the taxonomy
if (has_term(10,'event_category')) {
}