=== Auto Attachments Cleaner === Contributors: stefacchio Donate link: https://www.stefanofattori.it/donazione-wordpress-community-temi-plugins/ Tags: attachments, media, posts, pages, custom posts type Requires at least: 5.0 Tested up to: 6.7 Stable Tag: 1.0.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Automatically deletes attachments on post delete == Description == Automatically deletes attachments (images, videos, files etc...) linked to a page, post or custom post type when it is deleted. == Installation == 1. Upload `auto-attachment-cleaner` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Select the post types on which the plugin should work on the page `Settings > Auto Attachments Cleaner` and save settings == Frequently Asked Questions == = When are attachments deleted? = When the post is permanently deleted from the trash or the trash is emptied == Screenshots == 1. Post deleted notice 2. Plugin settings 3. Where plugin works (trash) == Changelog == = 1.0.2 = * [OPTIMIZATION] - Improve performance query = 1.0.1 = * [FIX] - Fixed settings link into plugins page * [FIX] - Fixed notice when delete multiple posts = 1.0.0 = * Plugin created