Filtering get_terms so it displays tags by category


Is there a way to filter get_terms so it’ll list only tags assigned to a post in a specific category?

I have two categories on the site I’m building, Recipes and Nutrition and I would like to display a list of tags on their respective archive pages but I don’t want tags that have been assigned to a Recipe displaying on the archive page for Nutrition.

superspaceiso 3 months 0 Answers 19 views 0

Leave an answer