Linux 软件免费装
Banner图

Emetrio Media Purge

开发者 nikunjvyas
更新时间 2026年7月15日 19:17
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

media attachments delete cleanup unused purge

下载

1.0.0

详情介绍:

EmetrioMediaPurge finds attachments that are not used in posts/pages and displays them so you can safely remove them from your WordPress site with bulk delete options.

安装:

  1. Upload the emetriomediapurge folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' screen in WordPress Admin.
  3. Go to Media → Emetrio Media Purge to view unused items.
  4. Make a full backup before deleting items (deletions are permanent).

屏幕截图:

  • screenshot-2.png — Filter and search in top table nav.
  • screenshot-1.png — Emetrio Media Purge list view: unused attachments with thumbnail, filename, size and action links (single/bulk delete).
  • screenshot-2.png — Emetrio Media Purge top table nav: filter by media type and search box for quick filtering.
  • screenshot-3.png — Attachment details sidebar: shows the "Emetrio Media Purge: Media is not in use" notice when an attachment is unused.

升级注意事项:

1.0.0 Initial release.

常见问题:

Is deletion permanent?

Yes — the plugin calls wp_delete_attachment(…, true) to permanently remove files.

How can I rebuild the scan?

The plugin stores results in a transient emetriomediapurge_unused_ids. Deleting the transient (or resaving an attachment) will force a rescan. Consider using WP-CLI or a scheduled job on large sites.

更新日志:

1.0.0