[WordPress] 外掛分享: HK Media Optimizer

首頁外掛目錄 › HK Media Optimizer
WordPress 外掛 HK Media Optimizer 的封面圖片
全新外掛
安裝啟用
尚無評分
7 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-07-09

外掛標籤

開發者團隊

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

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

原文外掛簡介

HK Media Optimizer scans your WordPress Media Library and tells you exactly which files are no longer used anywhere on your site, so you can safely delete them and reclaim disk space.
Unlike heavier media-cleaning tools, HK Media Optimizer is built around a simple rule: never do more work in one request than necessary. Every scan runs in small, configurable batches over AJAX, so it works comfortably even on modest shared hosting.
Where it checks for usage:

Post and page content
Featured images
Direct attachment relationships (files uploaded into a post)
Custom fields / post meta
Advanced Custom Fields (ACF) values, if ACF is active
Widgets, including block-based widgets
Theme Customizer settings (logo, background, header image)
Site icon

Built for control:

Turn any scan source on or off
Protect recently uploaded files with a configurable safety window
Whitelist specific files or whole folders
Exclude file types you never want flagged (PDFs, ZIPs, etc.)
Adjust batch size to match your server’s resources
Optional “type DELETE to confirm” safeguard before permanent removal

Find duplicate files:

Compares every file in your library by its actual contents (not just filename), so true duplicates are found even if they were re-uploaded under a different name
Groups duplicates together and shows how much space each group is wasting
Always keeps at least one copy from every group — server-side, even if you select every file in a group for deletion

Export & reporting:

Export your unused, in-use, or full scan results to a CSV file at any time
Optional scheduled scans (daily/weekly/monthly) with an email summary report — nothing is ever deleted automatically by a scheduled scan

Lightweight by design:

No data is sent to any external server — everything runs locally on your site
Scan results are stored in their own dedicated database tables, not in wp_postmeta or wp_options, so your site’s core tables stay fast
Assets (CSS/JS) only load on the plugin’s own admin screens, never elsewhere in wp-admin
No background cron jobs running on a schedule unless you explicitly turn on Scheduled Scans in Settings

文章
Filter
Apply Filters
Mastodon