Delete Product Images For WooCommerce Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
This small and lightweight plugin deletes all product images automatically when the product is deleted (from trash).
The plugin uses the “before_delete_post” action and runs a delete (wp_delete_post) for the product ID that is being deleted, this is done automatically and works with any number of products.
Contributions are welcomed on https://github.com/rwkyyy/delete-product-images-for-wc
Plugin is based on:
https://stackoverflow.com/a/45998408/5317637
Screenshots
No screenshots provided