Auto Attachments Cleaner

چۈشەندۈرۈش

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

ئېكران كەسمىسى

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

ئورنىتىش

  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.

باھالاشلار

2025-يىلى 8-مارت
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!
2025-يىلى 28-فېۋرال 1 reply
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.
2025-يىلى 30-يانۋار
Absolutely a must-have for not taking up unnecessary server space. it should be integrated into wordpress! Deletes attachments automatically when articles are deleted.
3 باھالاشنىڭ ھەممىنى ئوقۇش

تۆھپىكار ۋە ئىجادكار

«Auto Attachments Cleaner» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«Auto Attachments Cleaner» 1 تىلغا تەرجىمە قىلىنغان. تەرجىمانلارنىڭ تۆھپىسى ئۈچۈن رەھمەت.

«Auto Attachments Cleaner» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

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