
Media Cleaner – Clean unused media, Clear unwanted media
by Shivraj Jadhav - Walstar Technologies
Walstar Clear Media Engine helps you identify unused images in your WordPress Media Library and clean up media that is no longer needed.
The plugin provides a simple dashboard with Media Health information, background scanning in small batches, image details, bulk selection, Trash recovery, and permanent deletion.
You can move unused images to Trash when you want a recovery option, or permanently delete selected images when you are sure they are no longer needed.
Features
- Scan the Media Library for unused images.
- Process scans in small background batches to reduce server load.
- View Media Health information at a glance.
- See images in use and unused images.
- View the potential cleanup size.
- Browse unused images in a visual grid.
- Open an image to view its file name, type, size, dimensions, URL, and attachment ID.
- Select individual images or select all images on the current page.
- Select all unused images across all pages.
- Move selected images to Trash for recovery.
- Permanently delete selected images.
- Manage Trash from the same Clear Media Engine page.
- Restore individual images or restore all trashed images.
- Permanently delete individual Trash items.
- Empty the Trash.
- Automatically remove Trash items after 30 days.
- Paginate large media collections for easier management.
- Export unused image information as CSV.
How It Works
- Go to Media Clear Media Engine.
- Click “Scan for Unused Images”.
- The plugin scans your Media Library in background batches.
- Review the unused images shown in the grid.
- Select the images you want to clean.
- Move them to Trash if you may need to recover them later, or permanently delete them.
- Open the Trash tab to restore images or permanently remove them.
The Trash provides a recovery option before permanent deletion.
Screenshots

Media Health dashboard showing images in use, unused images, and potential cleanup size.

Unused Images view with bulk selection, page selection, and cleanup actions.

Image details modal showing the selected image, file information, dimensions, attachment ID, and cleanup actions.

Clear Media Engine tabs showing Unused Images and Trash with current media counts.

Trash management showing the 30-day retention period, Restore, Delete Now, Restore All, and Empty Trash actions.