I want to return my categories images from mysql database in woocommerce . I don’t know what should I do and How can I return the images from database.
so far I just return categories names and Ides ,
SELECT * from `wp_terms` where term_id in (SELECT term_id FROM `wp_term_taxonomy` WHERE `taxonomy` LIKE 'product_cat' AND `parent` = 0 and count>0)
How can I do so?
To display the category image for the currently displayed category –