I have a custom field called “Location” added to a custom taxonomy. I am able to display the value of the custom field on the taxonomy page.
I am now trying to get all taxonomy terms based on Location value.
One hack-ish way is to loop through all taxonomy terms and check for the value of the custom field. But that query could be expensive.