[WordPress] 外掛分享: s404 Orphaned Attachment Scanner

首頁外掛目錄 › s404 Orphaned Attachment Scanner
WordPress 外掛 s404 Orphaned Attachment Scanner 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.3+ PHP 8.2+ v1.1.4 上架:2026-06-18

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「s404 Orphaned Attachment Scanner」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon