get_filtered_term_product_counts – Get product terms if any products
So I realized there’s no open API for WooCommerce that can handle this, and my research declared that there were nobody else doing this. At least not to my knowledge. So I created the code, and it works. I’ll share my code in case anybody else would like to use WordPress as a headless CMS … Read more