Plugin info

Total downloads: 8,562
Active installs: 1,000
Total reviews: 6
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 1/29/2025 (336 days ago)
Added to WordPress: 6/4/2020 (5 years old)
Minimum WordPress version: 4.7
Tested up to WordPress version: 6.5.7
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Stale • Last updated 336 days ago • 6 reviews

40/100

Is Delete product images for WooCommerce abandoned?

Likely maintained (last update 336 days ago).

Compatibility

Requires WordPress: 4.7
Tested up to: 6.5.7
Requires PHP: 7.4

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

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 (server performance limited)

Contributions are welcomed on https://github.com/rwkyyy/delete-product-images-for-wc

Installation

  1. Download the plugin
  2. Upload it to your site (if you’ve installed it through WordPress Dashboard skip this step)
  3. Activate
  4. Enjoy!

Frequently Asked Questions

Will this work with any product?

Yes, it should work with any type of product (CPT).

Where can I see it working?

Please check the default WooCommerce logs (Woo > Status > Logs)

Can you make it work with more CPTs?

To be honest, I did not found the motivation in putting the work for making the plugin compatible with any CPT, but if I see interest in this plugin I’ll do that in time, or if you want to submit the update/any other updates yourself, just make a pull on Github and I’ll update it here.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

2.0

  • rewrote plugin logic for better handling of both database and filesystem
  • implemented multiple safeguards and error-checking
  • fixed a bug where in some cases the files would not get deleted
  • added logging (wc logs) for easy tracking of the activity

1.0

  • Initial release