=== Delete Post with Attachments === Contributors: alsvin Tags: delete, post, attachment, associated, along Requires at least: 5.1 Tested up to: 5.8 Stable tag: 1.0.0 Requires PHP: 5.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A simple plugin to delete attached media files e.g. images/videos/documents, when the post is deleted. == Description == By default when you delete a post or page, any associated media files or attachments to that post do not get deleted. Keeping these orphan files to your server will eat up a lot of precious web space for no reason. Using this plugin when you delete a post, any associated attachments will also get deleted automatically. **Features:** * No configuration required * Just activate and use * Save your precious server storage * Works automatically on post/page deletion == Installation == 1. Upload the plugin directory to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly. 1. Activate the plugin through the 'Plugins' screen in WordPress == Frequently Asked Questions == = Is this plugin compatible with the latest version of WordPress? = Yes, all our add-ons are compatible with the latest version of WordPress. = Does this plugin require any configuration after installation? No, there is absolutely no configuration required, just activate the plugin and it will start working. = Does this delete any associated media with the post? Yes, when you delete a page/post this plugin will check if there is any associated media or attachment to this post/page it will be deleted also. = Does this plugin work with custom post types also? Yes, it works with all types, posts, pages, products etc == Changelog == * Initial release == Upgrade Notice ==