I take advantage of WooCommerce REST API for updating/creating/deleting merchandise.
When I attempt to delete a product utilizing $woocommerce->put up('merchandise/batch')
, a picture linked with a product will not be deleting from the DB and filesystem. It takes up pointless house on the server.
What’s one of the best ways to resolve this downside?