Plugin Pulse
← Pulse

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.

How scoring works →
87 Health · A
Maintenance 97/100
Rating quality 89/100
Support 70/100

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.

94 / 100

Excellent listing optimization

Well tuned across the board

Update recency 100/100
WP compatibility 100/100
Rating quality 72/100
Listing tuning 100/100
Support resolution 100/100

Daily downloads

Since 2022-10-05 · 1,424 days · wp.org + Plugin Pulse archive

+24% vs prior 30d
23Downloads · Aug 26

30-day downloads

Rolling 30-day volume · peaks are release surges

876

now · peak 882

86830d downloads · Aug 26

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

Autoremove Attachmen · #4154 you Reveal IDs · #848 Attachments · #2429 DX Delete Attached M · #3431

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.

289per 1k installs · Aug 26

Release cadence

Occasionally updated
from wp.org release tags

How 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

1.3.1 · 4mo ago1.3.0 · 4.4y ago

What its installed base runs

via wordpress.org

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

v1.3 95%
Older / other versions 4.5%

Estimated active installs

The public count shows “3K+”. Our estimate pins where the real number sits.

tracked estimate
3K–4K ≈3.9K

Refined from the date this plugin crossed into its current band.

Install history · since 2015-08-14 · 1,436 observations

3KInstalls · Aug 26

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

N/A

Est. acquisition value

N/A

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

Version
1.3.1
Last updated
4mo ago
Added
2015-07-10 · 11 yrs old
Requires WP
5.8
Tested up to
6.9.7
Requires PHP
7.4

Recent reviews

All reviews on wp.org ↗
  1. MaryMak
    1.6y ago

    Simple, straightforward and does what it claims to do. Really useful and easy as this task should be.

    Read on wp.org ↗
  2. jemcbade
    4.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 ↗
  3. Weiching
    5.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 ↗
  4. doulou
    6.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 ↗
  5. Mohsin Alam
    6.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 ↗
  6. wordmax
    6.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 ↗
  7. Kyler Boudreau
    7.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 ↗
  8. Jellico
    8.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 changelog

Recent releases and news for this plugin

  1. Version 1.3.1 Minor improvements to admin notices 1.3.1
  2. Version 1.3.0 Minor code refactoring Language files updated 1.3.0
  3. Version 1.2.1 Fixed a bug that blocked changes to image sizes under Settings > Media 1.2.1
  4. 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
  5. 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
  6. 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 Hive

Automated install-time checks, tested on PHP 7.4.8 · WP 5.9.2

Low memory footprint
Low page-speed impact
Runs on latest PHP + WP
No PHP errors
No JS errors
Activates cleanly
No resource errors
No external HTTP errors
Optimized database use
Frequently updated

Languages

via translate.wordpress.org

Translated into 6 languages, 5 at 90% or more

Italian 100%
Spanish (Chile) 100%
Spanish (Colombia) 100%
Spanish (Spain) 100%
Spanish (Venezuela) 100%
Spanish (Mexico) 85%

Growth timeline

Install-tier crossings we have observed, and how long each tier took to outgrow

  1. 2025-05-12 4K+ → 3K+ down after 1 days in tier
  2. 2025-05-11 3K+ → 4K+ up after 2 days in tier
  3. 2025-05-09 4K+ → 3K+ down after 912 days in tier
  4. 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).

Compare head to head →

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>
Preview card ↗

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