跳到内容

s404 Orphaned Attachment Scanner

v1.1.4

surviving404 · 2026年6月19日 上架

Scan your WordPress Media Library for orphaned attachments and safely delete them to reclaim disk space.

正在使用
10 以下
评分
暂无
累计下载
321
最近更新
2026年6月19日
需要 WordPress 6.3+已测试到 7.1.5PHP 8.2+

贡献者

截图

Dashboard — scan controls with format filters
Dashboard — scan controls with format filters
Results table — sorted by file size with bulk actions
Results table — sorted by file size with bulk actions

s404 Orphaned Attachment Scanner helps you find and remove media files that are sitting in your WordPress Media Library but are not used anywhere in your installation — not in posts, pages, widgets, theme customizer, ACF fields, WooCommerce products, page-builder data, or any active plugin’s settings.

Features

  • Batched AJAX scan — never times out on large libraries
  • 9 detection layers — post content, post meta, featured images, widgets, theme customizer, ACF, WooCommerce, page builders (Elementor, Beaver Builder, Divi, Bricks…), ALL active plugin wp_options
  • Filesystem scan — checks theme files and optionally the entire WP installation for hard-coded references
  • Format filtering — scan only images, video, audio, documents, or specific formats (JPEG, PNG, WebP, SVG…)
  • Age threshold — only flag files older than N days, protecting freshly uploaded assets
  • Trash & Permanent Delete — move items to Trash for safety (requires define('MEDIA_TRASH', true); in your wp-config.php to enable the media bin)
  • Deletion log — every action is recorded with timestamp and username in your local history
  • Bulk actions — select, trash, delete, exclude, or export to CSV
  • Exclusion list — permanently hide specific IDs, MIME types, or path patterns from scan results
  • Scheduled scans — WP-Cron with daily/weekly/monthly frequency and optional email report
  • Developer hooks — s404as_is_attachment_used filter, s404as_before_delete / s404as_after_delete actions

Usage

  1. Go to Tools S404OrphanedAttachmentScanner
  2. Optionally select format filters
  3. Click Start Scan
  4. Review results — preview thumbnails, file sizes, MIME types
  5. Select items and use bulk actions, or use per-row buttons
  6. Export a CSV for your records before deleting

Plums

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

导航

说明

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

© 2026 Plums