Directory / plugin

Gerdoo Orphan Media Cleaner

v1.0.0 ยท by Mohammadreza Maghsoudipour

Deeply scans both your database (orphans) and filesystem (ghost files) with a safe physical trash bin.

View on WordPress.org

About this plugin

Is your server storage full of unused images and leftover thumbnails?
Gerdoo Orphan Media Cleaner is a tool designed to clean your WordPress media library and physical /uploads/ directory.

๐Ÿš€ Key Features

  • Deep Database Scanner (Orphans): Finds images that are registered in your Media Library but are unused in posts, pages, WooCommerce products, Elementor, or ACF fields.
  • Deep Filesystem Scanner (Ghost Files): Directly scans your physical /uploads/ folders to find leftover thumbnails and images that the WordPress database doesn’t know exist.
  • Safe Physical Trash Bin: Files deleted from the host are sent to a secure, physical Trash Bin (/gw-trash-bin/). You can restore them to their exact original location with a single click!
  • Optimized Processing: Built with OOP architecture and Cursor-based Pagination. It processes files in smart batches via AJAX, allowing it to scan databases with many images on shared hosts smoothly.
  • Deep Parser Engine: Smart analysis of JSON strings (Elementor), serialized arrays, and shortcodes to effectively identify used media.

Plugin tags