Title: Auto Attachments Cleaner
Author: Stefano
Published: <strong>22 decembrie 2024</strong>
Last modified: 1 martie 2025

---

Caută module

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

Acest modul **nu a fost testat cu ultimele 3 versiuni importante ale WordPress**.
S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate
când este folosit cu versiuni recente ale WordPress.

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

# Auto Attachments Cleaner

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

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

 * [Detalii](https://ro.wordpress.org/plugins/auto-attachments-cleaner/#description)
 * [Recenzii](https://ro.wordpress.org/plugins/auto-attachments-cleaner/#reviews)
 *  [Instalare](https://ro.wordpress.org/plugins/auto-attachments-cleaner/#installation)
 * [Dezvoltare](https://ro.wordpress.org/plugins/auto-attachments-cleaner/#developers)

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

## Descriere

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/)

## Capturi ecran

[⌊Post deleted notice⌉⌊Post deleted notice⌉[

Post deleted notice

[⌊Plugin settings⌉⌊Plugin settings⌉[

Plugin settings

[⌊Where plugin works (trash)⌉⌊Where plugin works (trash)⌉[

Where plugin works (trash)

[⌊Warning notice on Trash Page⌉⌊Warning notice on Trash Page⌉[

Warning notice on Trash Page

## Instalare

 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

## Întrebări frecvente

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

## Recenzii

![](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 martie 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 februarie 2025 1 răspuns

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 ianuarie 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.

 [ Citește toate cele 3 recenzii ](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/)

## Contributori și dezvoltatori

„Auto Attachments Cleaner” este un software open-source. La acest modul au contribuit
următoarele persoane.

Contributori

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

„Auto Attachments Cleaner” a fost tradus în 1 locală. Mulțumim [traducătorilor](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner/contributors)
pentru contribuția lor.

[Tradu „Auto Attachments Cleaner” în limba ta.](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner)

### Te interesează dezvoltarea?

[Răsfoiește codul](https://plugins.trac.wordpress.org/browser/auto-attachments-cleaner/),
vezi [depozitarul SVN](https://plugins.svn.wordpress.org/auto-attachments-cleaner/),
sau abonează-te la [jurnalul de dezvoltare](https://plugins.trac.wordpress.org/log/auto-attachments-cleaner/)
prin [RSS](https://plugins.trac.wordpress.org/log/auto-attachments-cleaner/?limit=100&mode=stop_on_copy&format=rss).

## Istoric modificări

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

 *  Versiunea **1.0.4**
 *  Ultima actualizare **Acum 1 an**
 *  Instalări active: **60+**
 *  Versiune WordPress ** 5.0 sau mai recentă **
 *  Testat până la **6.7.5**
 *  Versiune PHP ** 7.0 sau mai recentă **
 *  Limbi
 * [English (US)](https://wordpress.org/plugins/auto-attachments-cleaner/) și [Italian](https://it.wordpress.org/plugins/auto-attachments-cleaner/).
 *  [Tradu în limba ta](https://translate.wordpress.org/projects/wp-plugins/auto-attachments-cleaner)
 * Etichete
 * [attachments](https://ro.wordpress.org/plugins/tags/attachments/)[custom posts type](https://ro.wordpress.org/plugins/tags/custom-posts-type/)
   [media](https://ro.wordpress.org/plugins/tags/media/)[pages](https://ro.wordpress.org/plugins/tags/pages/)
   [posts](https://ro.wordpress.org/plugins/tags/posts/)
 *  [Vizualizare avansată](https://ro.wordpress.org/plugins/auto-attachments-cleaner/advanced/)

## Evaluări

 5 din 5 stele.

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

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

[Vezi toate recenziile](https://wordpress.org/support/plugin/auto-attachments-cleaner/reviews/)

## Contributori

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

## Suport

Ai ceva de zis? Ai nevoie de ajutor?

 [Vezi forumul pentru suport](https://wordpress.org/support/plugin/auto-attachments-cleaner/)

## Donează

Vrei să sprijini dezvoltarea acestui modul?

 [ Donează pentru acest modul ](https://www.stefanofattori.it/donazione-wordpress-community-temi-plugins/)