
內容簡介
MGCora Unused Media Cleaner 是一款專為清理未使用媒體而設計的外掛,能有效避免刪除仍在使用中的檔案,確保網站運行安全。它支援各類媒體檔案,並提供簡單的操作介面,讓使用者輕鬆管理媒體庫。
【主要功能】
• 全面掃描媒體庫,檢測所有媒體類型
• 識別文章、頁面及自訂文章類型中的媒體
• 支援批次掃描大型媒體庫
• 提供定期掃描選項,並可透過電子郵件發送摘要
• 安全刪除流程,支援從垃圾桶恢復
外掛標籤
開發者團隊
原文外掛簡介
Deleting unused media is easy. Deleting it without breaking your site is the hard part, and that is what this plugin is built for.
Most cleanup tools call a file unused if they cannot find it in your post content. That misses media stored by page builders, custom fields, product galleries, taxonomy thumbnails, widgets, and theme settings, which is how cleanup tools end up deleting images that were still on your pages.
MGCora Unused Media Cleaner checks all of those places, and then checks again at the moment you delete, so a file that is still referenced anywhere is not removed. Nothing is deleted without your confirmation, removals are backed up by default, and anything you remove can be restored.
It covers your entire media library, not just images: video, audio, PDFs, and other documents are classified the same way. Works on personal blogs, business sites, WooCommerce stores, and agency portfolios alike.
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, ACF, WooCommerce galleries, and Yoast/RankMath SEO images)
Detect images used as taxonomy term thumbnails or in term descriptions
Batch scanning for large media libraries
Optional scheduled scans (daily/weekly) via WP-Cron, with an emailed summary
Export scan results to CSV
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:
Additional page builders
Storage reports
One-click cleanup
Advanced usage reports
