PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Post
  4. DX Delete Attached Media
DX Delete Attached Media icon

DX Delete Attached Media

Automatically deletes attached media from posts and custom post types added via the Media button.

By Mario Peshev·Post·Free
4.9(28 reviews)
·4.0K+ active installs·Updated 2 years ago
DownloadVisit HomepageCompare

As of April 2026, DX Delete Attached Media is a WordPress post plugin with 4.0K+ active installations and a 4.9/5 rating from 28 reviews. It has been downloaded 54K+ times in total. Requires WordPress 4.5+ and PHP 7.4+. Available on WordPress.org since 2012. Last updated 2 years ago — may have compatibility concerns. Downloads are up 19% this week. Top alternative: Post Type Switcher.

4.9/528 reviews
4.0K+active installs
54K+total downloads
14 yearssince 2012

Overview

DX Delete Attached Media deletes all of the attached media files to your posts once they get deleted from the system. The standard core behavior deletes posts alone without taking care of related images. Now you can maintain your install and get rid of all solo attachments getting into your posts via the Media button and used nowhere else.

The plugin works with WooCommerce and Easy Digital Downloads.

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.928 reviews
5 ★
27
4 ★
0
3 ★
0
2 ★
1
1 ★
0

Recent Reviews

Does what it says.
by pixcil·2 years ago

Where I had a custom code implementation to do what this plugin does – that caused the site to completely destroy itself – this plugin does not. It does what it says without any issues. And its free! Big thank you to the developers. ♥

Plugin deleted media used elsewhere on the site
by nicole2292·3 years ago

Unfortunately this plugin deleted media which was used elsewhere on the site.

It deleted media which was used in other posts by the ACF Image Fields and ACF Gallery plugin.

It should not delete media which is used elsewhere on the site.

Perfect!
by MaxByer·3 years ago

It does what it says, simple and easy.

Lifesaver!
by jreitter·4 years ago

I run a classifieds site with thousands of posts and images uploaded by the users. This plugin is a total lifesaver!

The only one that works
by UomoMacchina·5 years ago

The plugin works well, but not delete the “.webp” file type.
Hope the author fix it in next update, but for me is a 5* plugin.
Just install, activate and it does the job.

Download Trends

Today: 4Yesterday: 10This week: 50Period total: 2K

Compatibility

WordPress4.5+ requiredTested up to 6.3.8
PHP7.4+ required

Version Adoption

v2.0
94.7%
Other
5.3%

Top Alternatives to DX Delete Attached Media

Post Type Switcher icon
Post Type Switcher
4.7200K+ installsUpdated 1 week ago
ViewCompare
Post Duplicator icon
Post Duplicator
4.8200K+ installsUpdated 2 days ago
ViewCompare
Header and Footer Scripts icon
Header and Footer Scripts
4.6200K+ installsUpdated 2 months ago
ViewCompare
Advanced Excerpt icon
Advanced Excerpt
4.380K+ installsUpdated 2 years ago
ViewCompare
Add From Server icon
Add From Server
4.660K+ installsUpdated 5 years ago
ViewCompare
View all post plugins →

Frequently Asked Questions

Changelog

2.0.6

  • Fixed vulnerability report
View full changelog on WordPress.org

Contributors

DevriXDevriXMario PeshevMario Peshev
Plugin Info
Version
2.0.6
Last Updated
Dec 19, 2023
WP Requires
4.5+
Tested Up To
6.3.8
PHP Requires
7.4+
Active Installs
4.0K+
Downloads
54K+
Added
Apr 11, 2012
Business
Free

Tags

postmediaattachment

Developer

M
Mario Peshev
13 plugins0.0M+ total installs
View all plugins →

Quick Compare

DX Delete Attached Media vs Post Type Switcher→DX Delete Attached Media vs Post Duplicator→DX Delete Attached Media vs Header and Footer Scripts→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.