Site icon Hip-Hop Website Design and Development

Learn how to delete photographs from database with product

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?