Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Delete product images for WooCommerce

Descripción

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

Instalación

  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!

FAQ

Will this work with any product?

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

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.

Reseñas

21 de abril de 2022
Just be carefull. In order for the images to be deleted you have to delete permanently the product!
Leer todas las 4 reseñas

Colaboradores y desarrolladores

«Delete product images for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Delete product images for WooCommerce» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Delete product images for WooCommerce» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0

  • Initial release