Title: Auto Attachments Cleaner
Author: Stefano
Published: <strong>22. Dezember 2024</strong>
Last modified: 1. März 2025

---

Plugins suchen

![](https://ps.w.org/auto-attachments-cleaner/assets/banner-772x250.png?rev=3211920)

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://ps.w.org/auto-attachments-cleaner/assets/icon-256x256.png?rev=3211920)

# Auto Attachments Cleaner

 Von [Stefano](https://profiles.wordpress.org/stefacchio/)

[Herunterladen](https://downloads.wordpress.org/plugin/auto-attachments-cleaner.1.0.4.zip)

 * [Details](https://de.wordpress.org/plugins/auto-attachments-cleaner/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/auto-attachments-cleaner/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/auto-attachments-cleaner/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/auto-attachments-cleaner/#developers)

 [Support](https://wordpress.org/support/plugin/auto-attachments-cleaner/)

## Beschreibung

Automatically deletes attachments (images, videos, files etc…) linked to a page,
post or custom post type when it is deleted.
 Support Woo Commerce and all plugins
that support Custom Post Types.

This plugin deletes also relative thumbnails of images.

Goodbye junk, orphaned and forgotten files clogging up server space over time!

#### Author Plugin Website

Here you can find other premium plugins:
 [Stefano Fattori – WordPress Plugins](https://www.stefanofattori.it/wordpress/plugins/)

## Screenshots

 * [[
 * Post deleted notice
 * [[
 * Plugin settings
 * [[
 * Where plugin works (trash)
 * [[
 * Warning notice on Trash Page

## 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

### Are all thumbnails created by wordpress also deleted?

Yes, a native WordPress function is used for deleting images, which also deletes
all thumbnails created

### Is Woo Commerce supported?

Yes Woo Commerce is supported, all plugin that works with Custom Post Type are compatible.

## Rezensionen

![](https://secure.gravatar.com/avatar/d2ddc9ed9b33207eb55a2fbebc6dedd4908d0451ba43787dcf28adf387415b25?
s=60&d=retro&r=g)

### 󠀁[Really useful!](https://wordpress.org/support/topic/really-useful-318/)󠁿

 [jessica1490](https://profiles.wordpress.org/jessica1490/) 8. März 2025

I’ve been looking for this feature for years! I’ve finally found it… really useful
plugin, well done and working, so I don’t have to delete each file manually any 
more!

![](https://secure.gravatar.com/avatar/0750c31ad2e4acbd1e971a549974bf676de83ffafccd57e2dd7e2139fdd9e88d?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3582/)󠁿

 [Jose Mortellaro](https://profiles.wordpress.org/giuse/) 28. Februar 2025 1 Antwort

Very useful plugin! I recommend checking whether the images your plugin is about
to delete are attached to other posts. Otherwise, you might accidentally remove 
images you intended to keep. Additionally, it’s best to display a clear warning 
message before deletion to prevent unintended data loss.

![](https://secure.gravatar.com/avatar/91db05863fab71aeade0dec63660fe332672727d0f7d5dac4fec60fb76f8547e?
s=60&d=retro&r=g)

### 󠀁[Best plugin ever!](https://wordpress.org/support/topic/best-plugin-ever-503/)󠁿

 [Stefano](https://profiles.wordpress.org/stefacchio/) 30. Januar 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.

 [ Alle 3 Rezensionen lesen ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/)

## Mitwirkende und Entwickler

„Auto Attachments Cleaner“ ist Open-Source-Software. Folgende Menschen haben an 
diesem Plugin mitgewirkt:

Mitwirkende

 *   [ Stefano ](https://profiles.wordpress.org/stefacchio/)

„Auto Attachments Cleaner“ wurde in 1 Sprache übersetzt. Danke an [die Übersetzer](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner/contributors)
für ihre Mitwirkung.

[Übersetze „Auto Attachments Cleaner“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/auto-attachments-cleaner/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/auto-attachments-cleaner/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/auto-attachments-cleaner/)
per [RSS](https://plugins.trac.wordpress.org/log/auto-attachments-cleaner/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 1.0.4

 * [NEW] – Introduced Warning notice on Empty Trash button and on post row actions
   near to ‚permanently delete‘ link

#### 1.0.3

 * [FIX] – Bug Fix

#### 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

## Meta

 *  Version **1.0.4**
 *  Zuletzt aktualisiert **vor 1 Jahr**
 *  Aktive Installationen **70+**
 *  WordPress-Version ** 5.0 oder höher **
 *  Getestet bis **6.7.5**
 *  PHP-Version ** 7.0 oder höher **
 *  Sprachen
 * [English (US)](https://wordpress.org/plugins/auto-attachments-cleaner/) und [Italian](https://it.wordpress.org/plugins/auto-attachments-cleaner/).
 *  [Übersetze in deine Sprache](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner)
 * Schlagwörter
 * [attachments](https://de.wordpress.org/plugins/tags/attachments/)[custom posts type](https://de.wordpress.org/plugins/tags/custom-posts-type/)
   [media](https://de.wordpress.org/plugins/tags/media/)[pages](https://de.wordpress.org/plugins/tags/pages/)
   [posts](https://de.wordpress.org/plugins/tags/posts/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/auto-attachments-cleaner/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  3 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/)

## Mitwirkende

 *   [ Stefano ](https://profiles.wordpress.org/stefacchio/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/auto-attachments-cleaner/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://www.stefanofattori.it/donazione-wordpress-community-temi-plugins/)