If Post Checked Category WordPress

//'10' is the term ID, 'event category' is the taxonomy
if (has_term(10,'event_category')) {
}

Leave a Comment