I just take a deeper look and I found that inside the pluing’s folder there is file / class? called class-perfect-woocommerce-brands.php, in there there is a function called get_brands, that is the function called when try to use brands endpoint (http://HOSTNAME/wp-json/wc/v3/brands).
github class link
I dont know much about php but seems to me that the function used to get the brands is not returning any data. I printed brands collection when get_brands is executed and it was empty.
Does anyone around know more about php and woocommerce development to take a look?
-
This reply was modified 6 years, 3 months ago by manuken.
Hi Guys,
Did you make API for brands work? It would be really helpful.