Delete Post with Attachments icon

Delete Post with Attachments

by Alsvin Tech

View on WordPress.org
60 Quality Score
Active Installs
14/30

With roughly 1,000 active installations the plugin has a modest, niche following that is well above what its raw score suggests relative to the support expectations that comes with that size.

Update Freshness
15/25

It was last updated in August 2025 and is tested against WordPress 6.8.5, which signals that the author is actively keeping pace with current core releases.

User Rating
13/15

The average rating of 84 out of 100 is good, though it comes from only 6 ratings which means the sample size is too small to draw strong conclusions about long-term user satisfaction.

Support Health
8/15

There are zero support threads opened and zero resolved, so we have no evidence yet of how the author handles user-reported issues and the sub-component score sits at 50 out of 100.

WP Compatibility
11/15

WordPress 4.1 and PHP 5.6 minimums are extremely permissive and the explicit support for Elementor, Divi, and Thrive Architect covers the three biggest page builder ecosystems.

Scores higher than 8% of indexed plugins

About

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

Active Installs 1k+
Rating ★★★★ 4.2/5
Last Updated 2025-08-19 2:34pm GMT
Requires WordPress 4.1+
Tested Up To 6.8.5
Requires PHP 5.6+
✓ No known vulnerabilities

What It Does

This plugin automatically deletes any media files attached to a post when that post is trashed or permanently deleted, helping site owners avoid orphaned images, videos, and documents in the Media Library. It includes compatibility with major page builders like Elementor, Divi Builder, and Thrive Architect so that files referenced through those builders get cleaned up too. In short, it ties the lifetime of your uploaded media to the lifetime of the content that uses it.

Who It's For

This is a good fit for sites that publish large volumes of content with many unique images per post, such as photography portfolios, news outlets, real estate agencies, and media-heavy blogs that regularly retire old posts. Admins who prefer a tidy Media Library and want to cut down on unused files cluttering their hosting will appreciate the set-and-forget cleanup behaviour. Teams running multi-author publishing operations will also benefit, since frequent content turnover tends to leave the most orphaned media behind.

Who Should Skip It

If your media library is used across many posts and pages as reusable assets, or you rely on files for landing pages, widgets, or external links, this plugin is risky because the deletion is automated. Sites with strict media retention requirements, such as legal documentation archives or e-commerce product image libraries, should also steer clear.

The Bottom Line

Delete Post with Attachments does a narrow job and does it competently, which is reflected in its 62.99 overall quality score that is held back by a small user base and an untested support track. It is a sensible, lightweight choice for publishers who want their media library to mirror their active content, but the lack of any public support history means you should test it carefully on a staging site first and keep backups. Anyone running a site where media has value beyond the post that originally used it should look elsewhere.

Tags

attachment cleanup delete media post