Beskrivning
Over time, every WordPress website accumulates media files that are no longer used. These unused files take up storage, clutter your media library, and make backups larger than they need to be.
MGCora Unused Media Cleaner helps you identify unused media of every type (images, video, audio, PDFs, and other documents) by scanning your website and checking where each file is referenced. Instead of deleting files blindly, it analyzes your content and presents clear results so you can review them before taking action.
Designed with safety in mind, MGCora Unused Media Cleaner helps you clean your media library confidently without risking important files.
Whether you manage a personal blog, business website, online store, or agency portfolio, MGCora Unused Media Cleaner makes media management simple and reliable.
Features
- Scan your entire WordPress media library
- Detect used and unused media of every type (images, video, audio, PDFs, and documents)
- Identify media used in posts, pages, and custom post types
- Detect featured images
- Scan media references stored in post meta (incl. page builders and ACF)
- Detect images used as taxonomy term thumbnails or in term descriptions
- Batch scanning for large media libraries
- Fast and lightweight performance
- Safe deletion workflow with restore-from-trash
- Clean and easy-to-use interface
- Built with WordPress coding standards
Why Use MGCora Unused Media Cleaner?
- Free up server storage
- Keep your media library organized
- Reduce unnecessary backups
- Improve website maintenance
- Remove media with confidence
- Avoid deleting files that are still in use
Safe by Design
MGCora Unused Media Cleaner never assumes a file is safe to delete without checking where it is being used. Every scan is designed to minimize false positives by verifying media references before a file is marked as unused. You stay in complete control and can review the results before deleting anything.
Perfect For
- Bloggers
- Business websites
- WooCommerce stores
- Agencies
- Developers
- Content creators
- Membership websites
- Portfolio websites
Source Code
The admin interface (build/index.js) is a compiled JavaScript bundle built with @wordpress/scripts. Its human-readable source ships with the plugin in the src/ directory, and assets/css/admin.css is compiled from assets/css/admin.scss. To rebuild both from source, run npm install followed by npm run build (see package.json for the exact build scripts).
Privacy
MGCora Unused Media Cleaner runs entirely on your own server. It does not make any external HTTP requests, does not collect or transmit any data, and does not ”phone home.” All scan data is stored in your site’s own database and is removed when you uninstall the plugin.
Roadmap
Future releases will add support for:
- Elementor
- WooCommerce galleries
- Advanced Custom Fields (ACF)
- Additional page builders
- Scheduled scans
- Storage reports
- One-click cleanup
- Advanced usage reports
Skärmdumpar






Installation
- Upload the
mgcora-unused-media-finderfolder to the/wp-content/plugins/directory, or install the plugin through the Plugins screen in WordPress. - Activate the plugin through the ’Plugins’ menu in WordPress.
- Go to Media MGCora Unused Media Cleaner to run your first scan.
Vanliga frågor
-
Is this safe to use on a production site?
-
Yes. Every deletion requires explicit confirmation, and deleted files are moved to a trash folder where they can be restored. You can also enable Safe Mode in Settings to block bulk deletion entirely, and Backup Before Delete (on by default) keeps a copy of each removed file.
-
How does the scan work?
-
The scanner analyzes your post content, featured images, post meta (including page builders and ACF), taxonomy term thumbnails and descriptions (categories, tags, and custom taxonomies), widgets, menus, and theme customizations to build a complete picture of which media files are in use. Files not found in any of these sources are flagged as unused.
-
Does it work with files other than images?
-
Yes. MGCora Unused Media Cleaner scans your entire media library (images, video, audio, PDFs, and other documents) and classifies each file as used or unused the same way.
-
Will it delete files automatically?
-
No. MGCora Unused Media Cleaner only flags unused media. You review the results and choose what to remove, and removed files can be restored from the trash.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”MGCora Unused Media Cleaner” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”MGCora Unused Media Cleaner” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.1
- Fix: images used as taxonomy term thumbnails (e.g. category/destination/product-category images) or embedded in term descriptions were incorrectly flagged as unused. The scanner and the delete-time safety check now also look at term meta and term descriptions across all taxonomies.
1.0.0
- Initial release.
