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.
- Does it work for custom post types?
Yes, as long as you attach images via the Media button, they are going to be deleted once the post/post type entry is deleted.
- Does it work for all of the deleted posts?
It works for all of your deleted posts, as long as you delete them from the system. Keep in mind that the soft delete sends your post to Trash first, and deleting the media would happen once your Trash is being emptied.
does what it says and does it right.
It works great with WP Job Manager too. I was lookig for a way to delete attachments when the custom post is deleted from the trash and it does that very well. Thanks!
- Description update and version bump
- First release
Contributors & Developers
DX Delete Attached Media is open source software. The following people have contributed to this plugin.Contributors