WordPress plugin intelligence profile

Unused Media Usage Audit by CodeCaste

Find potentially unused Media Library files and safely review them before deletion.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.3.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.6 · PHP 7.4
Directory statusactive
Last directory update24 Sept 20261mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Unused Media Usage Audit by CodeCaste version 1.3.1 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

The plugin scans WordPress data, builds a reference index, and lists attachments for which no supported reference was found.

Supported sources include:

* Post content, blocks, shortcodes, lazy-load data, and srcset

* Post meta, custom fields, ACF, and SCF data

* Elementor data

* WooCommerce product images and galleries

* Options, widgets, term meta, and user meta

* Active/parent theme PHP, CSS, and JavaScript files

* Eligible custom database tables

* Developer-registered custom scanners

Dashboard: Tools -> Unused Media

Safety

  • No automatic deletion.
  • Results are Potentially Unused, not guaranteed unused.
  • A final reference check runs before deletion.
  • Full scans run in background batches.
  • Targeted re-scans can run after site changes.

How It Works

After activation, a background scan starts automatically. The plugin indexes detected references and classifies attachments as In Use or Potentially Unused.

The dashboard shows scan status, logs, scan time, and results. Use Run Full Scan for a complete rescan.

php or keep the dashboard open during scanning.

Results

The dashboard includes search, filtering, list/grid views, attachment details, and Media Library links.

You can delete individual files, selected files, or all files matching the current filters.

WordPress’s standard attachment deletion API is used.

Limitations

Detection is not guaranteed for:

* Dynamically generated URLs

* External APIs or remote services

* Some CDN/offloaded media

* Plugin source files and unsupported filesystem locations

* Unsupported custom database formats

* Some numeric attachment IDs

* WordPress Multisite, which is not currently verified

Always review files before deleting them, especially on sites using CDNs, offloaded media, or third-party integrations.

Developer Extension

Developers can add custom scanners using the

media_cleanup_scout_additional_reference_sources filter.

Data

The plugin stores its scan index, results, logs, settings, and scan state in plugin-managed data.

Deactivation clears scan data and scheduled jobs. Uninstalling removes plugin-managed data and settings.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • unused media
  • audit
  • cleanup
  • images
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.6 · PHP 7.4
Update activity24 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.