Directory / plugin
Media Sifter
v1.0.0 ยท by Wajahat Mubashir
Find and remove unused/orphan media files safely. Dry-run scan, preview, and bulk-delete to reclaim storage.
About this plugin
Media Sifter helps you reclaim storage by finding media files that are not used anywhere on your site. Run a safe dry-run scan, preview results, and bulk-delete only what you confirm.
Features
- ๐ Scan for orphans โ detects media not referenced in posts/pages or attached to content.
- ๐งฎ Storage stats โ see how many files and how much space can be recovered.
- ๐งฐ Batch scanning โ avoids timeouts on large libraries.
- โ Safe by default โ dry-run first; delete only after confirmation.
- ๐ Admin-only & secure โ capability checks and nonces on all actions.
What counts as “in use”?
- Media attached to a post (parent set).
- Media referenced by URL in post content or basic meta (e.g., featured image).
- Resized variants (e.g.,
-150x150) linked to the base file.
Note: Deep scanning of page builders (Elementor/Divi), custom fields, and complex meta references are Pro-candidate features.