On This Page
On This Page
Unused Media Finder
Overview
Unused Media Finder scans the WordPress Media Library for attachments that do not appear to be referenced by supported content signals, helping administrators identify files that may no longer be needed.
The scanner checks featured-image relationships and common media references in public post content, including classic galleries, Gutenberg image-related blocks, wp-image classes, and uploads URLs. Potentially unused attachments are shown with preview, size, MIME type, and deletion controls so you can review them before making a decision.
Because WordPress media can be referenced from many places outside normal post content, results are intentionally presented as candidates rather than guaranteed-unused files. Unused Media Finder is a Pro module in WP PowerSuite.

- Sites with years of accumulated Media Library attachments
- Agencies cleaning up client websites before migration or handover
- Administrators investigating large uploads directories
- Content teams removing media left behind by deleted or rewritten posts
- Developers who want a reviewable unused-media scan rather than blind filesystem deletion
Features
Batched Media Library Scan
Featured Image Detection
Post Content Analysis
Gutenberg & Gallery Signals
Uploads URL Matching
Potentially Unused Results
Selected & Bulk Deletion
Short-Lived Scan State
Honest Coverage Warning
Use Cases
- Pre-Migration CleanupIdentify obvious unused attachments before moving a mature WordPress site to a new server.
- Reduce Media StorageReview large unused-media candidates when uploads have become a major part of site storage.
- Clean Up Removed ContentFind attachments left behind after posts, campaigns, or landing pages were deleted.
- Agency Site AuditsProvide clients with a reviewable list of potentially unused media rather than deleting files automatically.
- Legacy Media LibrariesInvestigate years of accumulated images and documents before deciding what can be safely removed.
Frequently Asked Questions
What does Unused Media Finder do?
It scans WordPress attachment records and supported content references to identify media that appears unused.
Does it guarantee that every listed file is unused?
No. WordPress media can be referenced from storage locations the scanner does not inspect.
Does it detect featured images?
Yes. Attachments referenced by _thumbnail_id are treated as used.
Does it scan Gutenberg content?
Yes for supported image, gallery, cover, and media-text block ID patterns in post content.
Does it scan classic galleries?
Yes. Classic references are detected.
Does it scan ACF or custom fields?
Not generally. Custom fields and other unsupported metadata can reference media that the scan cannot see.
Does it scan WooCommerce product galleries?
No. _product_image_gallery is specifically outside the current scan coverage.
Does it scan widgets or theme mods?
No.
Does it move unused media to trash?
No. Deletion is permanent.
Should I back up before deleting media?
Yes. A current Backup & Restore snapshot is recommended before broad destructive cleanup.
How many attachments can be deleted in one request?
The server accepts up to 50 IDs per deletion request.
Does it run automatically on a schedule?
No. Scans are started manually.
Does it scan files on disk that have no WordPress attachment row?
No.
Is Unused Media Finder free?
No. Unused Media Finder is a Pro module and requires an active WP PowerSuite license.


