php – Get taxonomy terms that share a common object property

Question

I have a custom taxonomy called ‘issues’ that has some properties (term_id, name, issue_year, etc). I want to get all the terms by year to display on a page. I need to get all terms of the taxonomy that share the same issue_year value.

I don’t believe a key value is an actual argument I can pass to get_terms(). Is there another way I can do this without looping through all the terms to see if the value matches?

0
abacusrex 4 weeks 2021-09-25T18:06:20-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse