Skip to main content
Login Join
Delete product images for WooCommerce
Free

Delete product images for WooCommerce

by Eduard "RwkY" Doloc (@rwky)

1k+ active installs
5 rating / 5
Back to Showcase
Free product images delete product images remove remove product images automatically woocommerce product images delete woocommerce product images remove

About This Plugin

Automatically deletes all images associated with a WooCommerce product when the product is permanently deleted from the Trash.

The plugin includes multiple safety mechanisms to ensure that shared images are never removed if they are used by other active products.

Features

  • Deletes:

    • Featured images
    • Gallery images
    • Variation images
  • Runs only on permanent delete:

    • Does NOT trigger when moving products to Trash
  • Smart protection:

    • Skips images used by other active products
    • Ignores products already in Trash
  • Partial deletion support:

    • Deletes only unused images
    • Keeps shared images intact
  • Bulk-safe:

    • Works with bulk delete and “Empty Trash”
  • Logging:

    • Full WooCommerce logger integration
    • Tracks every step for debugging
  • Admin control:

    • Toggle image deletion ON/OFF from the WordPress admin bar

Notes

  • The plugin is designed to be safe by default. If an image is detected as being used elsewhere, it will not be deleted.
  • Best suited for stores with frequent product imports/cleanup where media clutter can become an issue.

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

Community Reviews

No reviews yet. Be the first to share your experience!

Log in to leave a review