DX Delete Attached Media deletes all of the attached media files to your posts once they get deleted from the system. The standard core behavior deletes posts alone without taking care of related images. Now you can maintain your install and get rid of all solo attachments getting into your posts via the Media button and used nowhere else.
The plugin works with WooCommerce and Easy Digital Downloads.
- Upload ‘dx-delete-attached-media’ to the ‘/wp-content/plugins/’ directory or find via the Plugins admin section
- Activate the plugin through the ‘Plugins’ menu in WordPress
- That’s all. It would use out of the box, no settings needed. If you want to disable the functionality, disable the plugin from the Plugins section.