Media Reference Inspector
Media Reference Inspector scans WordPress media references without modifying content. Administrators can also optionally select and remove files from Media Explorer, after reviewing a warning and explicitly confirming the action. Scans never automatically delete files or modify content. Manual remov
Media Reference Inspector scans WordPress media references without modifying content. Administrators can also optionally select and remove files from Media Explorer, after reviewing a warning and explicitly confirming the action.
Scans never automatically delete files or modify content. Manual removal requires the administrator to review exactly which files will be removed, acknowledge the risk, and type DELETE. When Media Trash is disabled in WordPress, removal is permanent. No tables, tracking or analytics are added. Scan results are advisory: “No supported references found” does not prove that a file is unused.
Scanner
Inspect one media item at a time with a professional WordPress-native workflow. In 2.5, candidate content URLs and wp-image-ID classes are verified more strictly to reduce partial matches. Supported checks include:
- Post, page, custom post type, synced/reusable block, and other post content or excerpts containing the primary URL, generated image-size URLs, or the WordPress wp-image-ID class.
- Core Image, Gallery, Cover, Media & Text, File, Audio, and Video blocks that store attachment IDs.
- Featured images stored in _thumbnail_id metadata.
- Navigation menu custom URLs.
- WordPress Site Icon and Site Logo.
- Active theme Custom Logo, Header Image, and Background Image settings.
- Core media widgets and block widgets.
- WooCommerce product gallery and product-category thumbnail attachment IDs.
- Elementor saved media-control references when the saved JSON confirms the attachment ID.
- Advanced Custom Fields (ACF) Image, File, and Gallery fields when ACF confirms the field type and saved attachment ID.
- Reference evidence details including confidence, source category, and context for supported results.
Bulk Scan
Bulk Scan processes media items one at a time through bounded AJAX requests. It supports media type, upload-age, search, maximum-item filters, selected attachment IDs, live progress, potential-unused review filtering, reference evidence and file-health filtering, result sorting, CSV/JSON export, and a printable HTML audit report. CSV cells beginning with spreadsheet formula characters are escaped.