Title: MediaSleuth
Author: Smit Dudhat
Published: <strong>4. august, 2026</strong>
Last modified: 4. august, 2026

---

Søg plugins

![](https://ps.w.org/mediasleuth/assets/banner-772x250.png?rev=3634594)

![](https://ps.w.org/mediasleuth/assets/icon.svg?rev=3634594)

# MediaSleuth

 Af [Smit Dudhat](https://profiles.wordpress.org/smitdudhat/)

[Download](https://downloads.wordpress.org/plugin/mediasleuth.1.0.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/mediasleuth/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/mediasleuth/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/mediasleuth/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/mediasleuth/#developers)

 [Support](https://wordpress.org/support/plugin/mediasleuth/)

## Beskrivelse

MediaSleuth helps administrators identify media files that are not being used anywhere
on the website. It works with any installed plugin by scanning all posts, custom
post types, post meta, term meta, user meta, comments, widgets, theme options, wp_options,
menus, and serialized/JSON data from page builders and third-party plugins.

**Key Features:**

 * Comprehensive media usage detection
 * Safe delete with 30-day trash retention
 * Batch processing for large sites (10,000+ media files)
 * Real-time scan progress
 * Storage analytics
 * CSV export
 * Scheduled scans with email reports
 * Bulk actions (delete, restore, rescan)

**Safety First:**

Files are never permanently deleted immediately. When deleted, files are moved to
a plugin trash folder and can be restored within the retention period. Files that
cannot be confirmed as unused are marked as “Possibly Used” instead of “Unused”.

## Installation

 1. Upload the `mediasleuth` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Media Scanner in the admin menu
 4. Click “Start New Scan” to analyze your media library

## FAQ

### Will this delete my files permanently?

No. Deleted files are moved to a plugin trash folder and kept for the configured
retention period (default 30 days) before permanent deletion. You can restore files
at any time during this period.

### What does “Possibly Used” mean?

When the scanner cannot guarantee a file is unused (e.g., complex serialized data
or third-party plugin references), it marks the file as “Possibly Used” rather than“
Unused” to prevent accidental deletion.

### Does it work with all plugins?

Yes. The scanner uses universal detection across post meta, options, JSON, and serialized
data. It automatically recognizes data from Elementor, Divi, Beaver Builder, WPBakery,
Bricks, ACF, WooCommerce, and many other plugins. Developers can extend detection
using WordPress filters: media_sleuth_infer_plugin_label, media_sleuth_is_excluded_option,
and media_sleuth_rescan_detectors.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“MediaSleuth” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

 *   [ Smit Dudhat ](https://profiles.wordpress.org/smitdudhat/)

[Oversæt “MediaSleuth” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/mediasleuth)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/mediasleuth/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/mediasleuth/), eller abonner 
på [udviklerloggen](https://plugins.trac.wordpress.org/log/mediasleuth/) via [RSS](https://plugins.trac.wordpress.org/log/mediasleuth/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.0**
 *  Senest opdateret **2 dage siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 6.0 eller højere **
 *  Testet op til **7.0.2**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/mediasleuth/)
 * Tags
 * [cleanup](https://da.wordpress.org/plugins/tags/cleanup/)[media](https://da.wordpress.org/plugins/tags/media/)
   [scanner](https://da.wordpress.org/plugins/tags/scanner/)[storage](https://da.wordpress.org/plugins/tags/storage/)
   [unused files](https://da.wordpress.org/plugins/tags/unused-files/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/mediasleuth/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/mediasleuth/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/mediasleuth/reviews/)

## Bidragsydere

 *   [ Smit Dudhat ](https://profiles.wordpress.org/smitdudhat/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/mediasleuth/)