Shakoor Media Cleaner

Description

Shakoor Media Cleaner solves the biggest risk of library optimization: accidental deletion. Instead of permanently removing files, this plugin uses a unique Vault System to isolate unused attachments into a custom database table.

If a file is moved to the vault but you realize you still need it, you can restore it with a single click—no backups required.

Features

  • Smart Isolation: Moves unused media to a secure “holding area” (Vault) rather than deleting them from the server.
  • Full Automation: Built-in engine to schedule library cleanups (Daily, Weekly, etc.).
  • Live Countdown Timer: Monitor exactly when the next automated cleaning will occur.
  • One-Click Restore: Safely return any isolated file back to the WordPress Media Library with metadata intact.
  • Page Builder Compatible: Tested and verified with Elementor v4 and the Gutenberg (Block) editor.
  • Hard Delete: Once you are 100% sure, permanently remove files from the Vault to save disk space.

Screenshots

Installation

  1. Upload the shakoor-media-cleaner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to ‘Media Cleaner’ in your sidebar to start your first analysis.
  4. Set up your cleaning schedule in the ‘Automation’ tab.

FAQ

Is this safe for my website?

Yes! Unlike other plugins that delete files immediately, we move them to a “Vault” table first. Your website won’t break because the files stay on your server until you choose to “Hard Delete” them.

Does it work with Elementor?

Yes, it has been specifically tested on Elementor v4 to ensure it correctly identifies used images within widgets.

Can I run a cleanup manually?

Absolutely. You can use the “Scan Library” tab at any time to perform a manual check and move files to the Vault.

Reviews

July 6, 2026
Der Cleaner ist simpel aufgebaut und tut was er soll. Die Einfachheit eines solchen Tools ist mir immer wichtig, daher gibt es von mir auch 5 Sterne. Die Features die dieses Plugin verspricht, werden eingehalten. Zur Kompatibilität mit Elementor V4 habe ich einen Kommentar: Zugegeben, sieht das Plugin viele Bilder in Widgets als “verwendet”. Jedoch werden alle Bilder die in einem Container/Section als Hintergrund gesetzt werden nicht als verwendet. Diese werden entfernt. Da dies bei fast allen Cleaner die Problematik ist, vermute ich ist dieses Thema nicht ganz trivial. Ich bleibe bei meinen 5 Sternen. Ich betreue Kundenwebsites, die fast nie mehr als 20 Seiten haben. Davon sind an 2-3 Stellen Bilder als Hintergrund gesetzt. Von daher konnte ich damit leben und die Bilder manuell wieder hinzufügen. Jedoch wird für mich aufgrund dieser Sache ein automatisierter Cronjob nicht in Frage kommen. Vielleicht gibt es dafür auch bald eine Lösung 🙂
Read all 1 review

Contributors & Developers

“Shakoor Media Cleaner” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.
  • Added Vault isolation logic.
  • Added Automation Engine with Live Timer.
  • Elementor v4 and Gutenberg compatibility.