Get categories within specific term
I have a WooCommerce shop, where I’d like to show every possible product category, where the products have a specific attribute (term). Say I have a product attribute called: “Designer”, then I wish to find all the categories where products have attribute Designer => “Nike”.
So essentially the output would be:
Any pointers in the right direction where I can solve this?