WordPress plugin

Media Hygiene Pro

Media Hygiene Pro scans supported WordPress content and plugin data for references to images, documents, audio, and video. Its dashboard lists documents the scan could not match to a supported source, with details such as file name, URL, and size. An unused result means no reference was found in the places the plugin reads, so review the list and keep a backup before deleting files.

Media Hygiene Pro

Review media with no detected references

Media Hygiene Pro scans supported WordPress content and plugin data for references to images, documents, audio, and video. Its dashboard lists documents the scan could not match to a supported source, with details such as file name, URL, and size. An unused result means no reference was found in the places the plugin reads, so review the list and keep a backup before deleting files.

Files are not removed automatically. Select the items you want to act on and confirm. You can whitelist files to keep them out of future scans, move them to Trash for restoration, or permanently delete them after confirmation.

Pro scans more of the website

The free version checks supported content on pages and posts, including Gutenberg, Elementor, Divi, Bricks, Visual Composer, OceanWP, and LayerSlider. Pro also checks those builders in saved templates, theme options, headers, footers, and custom post types, and includes WP Bakery, Beaver Builder, Avada, and Flatsome.

Pro can also find media stored by Advanced Custom Fields, WooCommerce, Pods, Custom Field Suite, and Jet Engine, as well as Yoast SEO, All in One SEO, SEO Press, Slider Revolution, Meta Slider, and Smart Slider. Its matching covers resized, scaled, rotated, or edited copies, references inside JSON and serialized data, and websites with a moved uploads folder.

Filter, protect, and handle files

  • Filter results by file name, year, or file type.
  • Whitelist files that must remain available, including files linked from off-website sources.
  • Download unused media individually or by page, or use One Shot Download for the list.
  • Use Folder Scan to find files in the uploads folder that have no database record.
  • Move files to Quarantine first so you can restore them if they are still in use.
  • Use One Shot Delete to remove the listed files in bulk.

The library can include images, PDFs, audio, video, archives, and other common file types. Review scan results before removal because references built at page-render time or stored in unsupported sources may not be detected.

Tools for larger libraries

WP-CLI commands let you scan large libraries without relying on browser timeouts. Pro also provides direct support from inside the plugin.

A practical cleanup process

Install Media Hygiene Pro on the WordPress site you want to review and start a scan. Check the dashboard results, narrow them with filters, and whitelist anything that should stay. Download files you want to retain, then move selected items to Quarantine or remove them after reviewing and confirming the action. A cleanup can help before a hosting migration, after a redesign, or when discontinued products and old themes leave media behind.