I’ve been trying to figure out if there is a way to check if a specific term was selected from a list of terms in a taxonomy selection field.
For instance, I have a custom taxonomy called furniture with terms like chair, table, coach, etc. In my code I want to check if one of these terms is selected and do something. I think the real trick is that multiple terms can be selected.
I assume I would have to loop through the terms and check against a specific value to see if it’s present? Any help would be much appreciated!
Is this on the front-end or backend? Could you check against
has_term() or $_POST?