Directory / plugin
Dustorage – Media Library Cleanup
v1.0.0 · by ztwpdeveloper
Automatically removes unused media files to keep your WordPress library light, organized, and clutter-free
About this plugin
Dustorage scans your entire WordPress site to find media files that are no longer used anywhere — not attached to any post, page, featured image, custom field, or site setting. Instead of deleting files immediately, Dustorage places them in a quarantine period, giving you time to review and restore anything deleted by mistake before it’s permanently removed.
Key Features
- Scans the full media library and detects unused files
- Checks featured images, post content, post meta, custom fields, and site options (logo, site icon)
- Quarantine system: files are held for a configurable number of days before permanent deletion
- Scheduled automatic scans (daily or weekly)
- Activity log to track what was quarantined or deleted
- Excluded folders setting to protect specific directories from being scanned
How It Works
- Dustorage scans your media library and checks each file against multiple usage rules.
- Files found unused are placed in quarantine (not deleted immediately).
- After the quarantine period ends (default: 7 days), files are permanently deleted.
- You can review and restore quarantined files at any time before that.