Auto Attachments Cleaner

Description

Automatically deletes attachments (images, videos, files etc…) linked to a page, post or custom post type when it is deleted.

Screenshots

  • Post deleted notice
  • Plugin settings
  • Where plugin works (trash)

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

FAQ

When are attachments deleted?

When the post is permanently deleted from the trash or the trash is emptied

Reviews

30 Am Faoilleach 2025
Absolutely a must-have for not taking up unnecessary server space. it should be integrated into wordpress! Deletes attachments automatically when articles are deleted.
Read all 1 review

Contributors & Developers

“Auto Attachments Cleaner” is open source software. The following people have contributed to this plugin.

Contributors

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