跳到内容

MediaPrune – Media Cleaner & Unused Image Remover

v1.0.1

SandCircuit · 2026年11月2日 上架

Find and delete unused images and media files safely. Cleaned files go to a 30-day quarantine, so you can restore anything in one click.

正在使用
10 以下
评分
暂无
累计下载
489
最近更新
2026年11月23日
需要 WordPress 6.6+已测试到 7.1.5PHP 8.1+

贡献者

截图

Unused files found by the scan, ticked for cleaning. Untick anything you want to keep.
Unused files found by the scan, ticked for cleaning. Untick anything you want to keep.
List view, filtered to images, with search and file type filters.
List view, filtered to images, with search and file type filters.
Moving files to quarantine: they can be restored for 30 days.
Moving files to quarantine: they can be restored for 30 days.
The Quarantine tab: restore any file in one click.
The Quarantine tab: restore any file in one click.

MediaPrune is a media cleaner and unused image remover for WordPress. It finds the images, videos, PDFs and other files in your media library that nothing on your site uses, so you can delete them and free up disk space without breaking any pages.

Most media libraries fill up over time with unused images: old uploads, replaced product photos, test files and leftovers from deleted posts. Each upload also creates several resized copies, so one forgotten image can take up a lot of space. MediaPrune finds these files, shows you what can go, and lets you remove them in a few clicks.

Why MediaPrune

  • Safe by default. Files go to a quarantine first, not straight to the bin. If a page turns out to need one, restore it in one click. Quarantined files are deleted for good after 30 days.
  • Careful scan. When in doubt, MediaPrune keeps the file. Each file is checked again right before it’s removed, in case something started using it after the scan.
  • Thorough clean-up. Removes the original and every copy: all the sizes WordPress made, plus the extra crops and WebP versions other plugins create.
  • Works on large libraries. Scans in small steps, so it doesn’t time out, and an interrupted scan picks up where it left off.
  • Lightweight and private. Runs only on its own admin screen, adds nothing to your site’s front end, and sends nothing anywhere unless you choose to share anonymous usage data.

How it finds unused media

A scan checks every place that can point to a file:

  • the content of all posts, pages and custom post types, including drafts, scheduled and private posts: images, galleries, covers, videos and file links in blocks, classic content and shortcodes;
  • featured images;
  • custom fields on posts, categories, tags and users, which covers ACF, WooCommerce product galleries and page builders;
  • site settings: the site logo and icon, Customizer settings and widgets.

Any file used in one of these places is kept.

Review before you clean

Every unused file is listed with a preview, file size and upload date, and is ticked for cleaning. Untick anything you want to keep. You can search by file name, filter by images, video, audio or documents, switch between grid and list views, and see how much space your selection will free up. Files you untick stay unticked in later scans.

Quarantine or delete permanently

  • Move to quarantine takes the selected files offline. They disappear from the media library and their URLs stop working, so if a page still used one, you’ll notice straight away. Restore any file from the Quarantine tab.
  • Clean selected deletes the selected files permanently, after you confirm. Use it for files you’re sure about.

Uninstalling MediaPrune restores everything in quarantine before it removes the plugin’s own data.

Credits

The admin screen’s line icons are based on the Lucide icon set (ISC licence). The licence notice is in third-party-licenses.txt.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums