How to delete images from database with product
I use WooCommerce REST API for updating/creating/deleting products.
When I try to delete a product using
$woocommerce->post('products/batch'), an image connected with a product is not deleting from the DB and filesystem. It takes up unnecessary space on the server.
What is the best way to resolve this problem?
0database, images, woocommerce 6 years 2017-11-23T06:41:04-05:00 2017-11-23T06:41:04-05:00 0 Answers 75 views 0
Leave an answer