Delete Post with Attachments
by Alsvin Tech 4.2 (6 reviews)

Delete Post with Attachments

A simple plugin to delete attached media files e.g. images/videos/documents, when the post is deleted. Supports Elementor, Divi Builder, Thrive Archit …

Delete Post with Attachments ranks #6,356 among WordPress.org plugins with 1,000+ active installations, is #630 of 6,651 in the Media category, a 4.2/5 rating from 6 reviews, and was last updated Aug 19, 2025. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.8 (Current: 7.1.4)
v2.0 Current Version v2.0
Updated 1 year ago Last Update on 19 Aug, 2025
Refreshed 1 week ago Last Refreshed on
#630 of 6,651 in Media Top 10% by installs No update in over a year
View on WordPress.org
Rank
#6,356
— No change
Active Installs
1K+
-27.1%
KW Avg Position
76
1 better
Downloads
9.1K
+1 today
Support Resolved
0%
— No change
Rating
84%
Review 4.2 out of 5
4.2 (6 reviews)

Next Milestone 2K

Total Progress 35.8%
1K+ 2K+
1,336
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 642 more installs to reach 2K+

Rank Changes

6,038 6,197 6,356 6,515 6,674 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
6,038 6,197 6,356 6,515 6,674 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #6,356
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.2
6 reviews
Overall 84%
5
4 (67%)
4
1 (17%)
3
0 (0%)
2
0 (0%)
1
1 (17%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Delete Post with Attachments. Checked 3 months ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and administrators who use page builders or plugins that attach media to posts, pages, or products. It solves the problem of orphaned media files remaining on the server after a post is deleted by automatically removing attachments that are not used elsewhere.

  • Auto-deletes attachments on post deletion
  • Checks attachment usage before deleting
  • Elementor support
  • Divi Builder support
  • Thrive Architect support
  • Brizy support
  • WooCommerce support
  • No configuration required

Frequently Asked Questions

Common questions about Delete Post with Attachments

The attachment will not be deleted if the post is moved to Trash, the attachment will only get deleted when the post is permanently deleted
Sometimes single attachment is used in multiple posts, for example you have used "image1.jpg" in "Post 1" and "Post 2" both. Deleting "Post 1" will not delete the image until "Post 2" is also deleted permanently. Please make sure your attachment is not in used any other post.
Yes! it removes media files linked to posts, pages, and products, including those created using popular page builders.
We have tested the plugin with Gutenberg, Elementor, Thrive Architect, Brizy, and Divi Builder. Other page builders may also work, but have not been fully tested yet.
We have got you covered! Let us know via the plugin's support page, and we will work to add compatibility with your builder.
No, there is absolutely no configuration required, just activate the plugin, and it will start working.
Yes, when you delete a post the plugin will check if there is any associated media or attachment in this post it will be deleted also.
Yes, it works with any types, posts, pages, products etc
If a single attachment is used on multiple posts, the attachment will not get deleted until all associated posts are deleted.
Yes, the plugin will check if the image is not used in any other post then it will get deleted along with the current post.

Sign In / Register

You need to sign in or register to use this feature.