Autoremove Attachments
by Polygon Themes · Media
Also makes 1 other plugin · 4K+ installs across the portfolio →
Remove child attachments when parent post, page or custom post type is deleted.
87 health vs 59 average across 2,206 Media plugins
Directory ranking optimization
How it's scored →How well this listing is tuned to rank in WordPress.org search, on the factors an owner controls. Not popularity, optimization.
Excellent listing optimization
Well tuned across the board
Daily downloads
Since 2022-10-05 · 1,424 days · wp.org + Plugin Pulse archive
30-day downloads
Rolling 30-day volume · peaks are release surges
876
now · peak 882
Directory rank vs rivals
wp.org popularity rank over time · higher is better · when a rival's line climbs above yours, they've overtaken you
Update activity
How busy the existing users are, measured as downloads in the last 30 days for every 1,000 active sites. A spike means a new release everyone's pulling; a long, slow decline means an aging user base that updates less.
Release cadence
Occasionally updatedHow often this plugin actually ships. A steady rhythm is the maintenance signal a single "last updated" date can't show.
1
releases in the last 12 months
4mo ago
latest release · v1.3.1
2
tagged releases on record
Recent releases
What its installed base runs
via wordpress.orgShare of active installs on each version of this plugin · 95% run the current release. Green is the current release; a big slice on older versions is a user base that has stopped updating.
Estimated active installs
The public count shows “3K+”. Our estimate pins where the real number sits.
Refined from the date this plugin crossed into its current band.
Install history · since 2015-08-14 · 1,436 observations
Estimated value
What this plugin might earn a year, and what it might sell for. Modeled from public signals; we don't see anyone's books.
Est. annual revenue
Est. acquisition value
No paid tier is visible, so we don't put a figure on revenue or sale value: that would be guessing. The install base is a real asset to an acquirer, just not one public data lets us price. A small install base leaves thin data to model from.
Details
Recent reviews
All reviews on wp.org ↗- ★★★★★ MaryMak1.6y ago
Simple, straightforward and does what it claims to do. Really useful and easy as this task should be.
Read on wp.org ↗ - ★★★★★ jemcbade4.9y ago
I have clients that create attachments for a CPT, delete the post but leave the Media in the library. “Why is my site getting so big? The backups are HUGE now!” *facepalm* Thank you for the code for the filter to only effect certain post types so they don’t break the site 😛 Very well thought out use case and code. So far works with WP 5.8.1 and Metabox CPTs.
Read on wp.org ↗ - ★★★★★ Weiching5.3y ago
I provide the user front-end to publish articles, and I need to delete them frequently, which saves me a lot of time. Thank you.
Read on wp.org ↗ - ★★★★★ doulou6.4y ago
I wish I’d discovered this plugin a while back! My client has a website with 2 custom post types and constant posts being added and removed. The plugin works perfectly (I was worried about the galleries). Thanks for a great time-saving plugin!
Read on wp.org ↗ - ★★★★★ Mohsin Alam6.5y ago
This plugin worked when the image is featured image to the post, but can’t delete which is uploaded in the middle of post.
Read on wp.org ↗ - ★★★★★ wordmax6.7y ago
Had a blog with 3000 posts w/ images that I wanted to delete. I installed and activated this plugin and then used Bulk Delete plugin to delete all 3000 old articles. This plugin did a great job and there were no old images left in the uploads folder. Sooo much faster than doing this manually or using two separate plugins to get rid of posts and then media. It took less than 1 minute to delete 3000 posts and the attached media with the combo Bulk Delete/Autoremove Attachments plugins together. Well done dev!
Read on wp.org ↗ - ★★★★★ Kyler Boudreau7.1y ago
NICE. Love it! The fact that it purges images upon deletion rocks the house. Thank you for developing this!
Read on wp.org ↗ - ★★★★★ Jellico8.0y ago
At the first look, it seemed dangerous, since some posts could use the same images, and this plugin would remove this. I talked to the creator, about a failsafe system, and within a few hours, the function was added. Now you can set the plug-in to only deleted images from posts that have a specific tag, so now you don’t need to worried about the other images. This is the plug-in that actually should be mandatory, and should be installed with WordPress. I actually can’t understand why WordPress don’t removes images and stuff when you’re deleting a post.. but this plug-in solves everything..
Read on wp.org ↗
Latest updates
via wp.org changelogRecent releases and news for this plugin
- — Version 1.3.1 Minor improvements to admin notices 1.3.1
- — Version 1.3.0 Minor code refactoring Language files updated 1.3.0
- — Version 1.2.1 Fixed a bug that blocked changes to image sizes under Settings > Media 1.2.1
- — Version 1.2.0 Minor code refactoring Extended support for WooCommerce and Easy Digital Downloads. New safety checks when you empty your trash – We now try to determine if the child attachments marked for removal are used anywhere else 1.2.0
- — Version 1.1.2 New filter added to allow developers define custom rules for controlling when the child attachments should be removed automatically Removed the old ‘autoremove_attachments_post_types’ filter in favor of the new one – ins 1.1.2
- — Version 1.1.1 New filter added to allow developers to change for what post types the child attachments should be removed automatically ( see FAQ for instructions ) Fixed a minor incompatibility with WP-Sweep 1.1.1
Behavioral tests
via WP HiveAutomated install-time checks, tested on PHP 7.4.8 · WP 5.9.2
Languages
via translate.wordpress.orgTranslated into 6 languages, 5 at 90% or more
Growth timeline
Install-tier crossings we have observed, and how long each tier took to outgrow
- 2025-05-12 4K+ → 3K+ down after 1 days in tier
- 2025-05-11 3K+ → 4K+ up after 2 days in tier
- 2025-05-09 4K+ → 3K+ down after 912 days in tier
- 2022-11-09 3K+ → 4K+ up
Competes with
The plugins that solve the same job, ranked by shared tags then reach, closest match first. The letter on the right is each plugin's health grade (A best, F worst).
-
Reveal IDs 40K+ installs · 4.8★ · 3 shared tags A - A Attachments 8K+ installs · 4.7★ · 3 shared tags B
-
DX Delete Attached Media 4K+ installs · 4.6★ · 3 shared tags C -
LH Add Media From Url 2K+ installs · 4.0★ · 3 shared tags D -
Simple Revision Control 1K+ installs · 3.8★ · 3 shared tags B
-
Post Type Switcher 200K+ installs · 4.7★ · 2 shared tags A
Embed this report card
Drop a live Pulse card for Autoremove Attachments into a readme, a review or a deck. It updates itself.
<iframe src="https://plugins.wpmayor.com/embed/autoremove-attachments" width="480" height="300" style="border:0" loading="lazy" title="Autoremove Attachments — Plugin Pulse"></iframe> Autoremove Attachments: 3K+ active installs, 5.0★ (15 reviews). Plugin Pulse (WP Mayor), as of 2026-08-29. https://plugins.wpmayor.com/plugin/autoremove-attachments