strip html from has_term?
-
I’m using
has_term(‘staff’,’tutorial-types’)
it’s not returning positive, when it should be.
Is this because it’s returning the term as an html object? How do I change it to a string with just the tutorial-types slug?
- The topic ‘strip html from has_term?’ is closed to new replies.