List Custom Taxonomy Values according to a Post Meta Value
This will return an array of term objects, if you need these processed to be hierarchical or something, that’s pretty easy, I think the challenge you were having was getting the term objects. //get posts $args = array( //basic stuff ‘post_status’ => ‘publish’, //meta query ‘meta_query’ => array( array( ‘key’ => ‘your_key’, ‘value’ => ‘1’ … Read more