=== Smart Bulk Delete & Content Cleaner for WordPress ===
Contributors: solankisoftware
Donate link: https://paypal.me/kirtikumar89
Tags: bulk delete, delete posts, delete pages, media cleaner, remove comments
Requires at least: 4.7
Tested up to: 6.9
Stable tag: 1.1
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Safely bulk delete posts, pages, media, and comments with flexible filters and a clean interface.

== Description ==

**Smart Bulk Delete & Content Cleaner for WordPress** is a powerful and user-friendly tool to manage and clean up your WordPress website in just a few clicks.  

No more manually selecting and deleting one item at a time — this plugin gives you a **fast, flexible, and safe bulk deletion interface** to remove unwanted content such as old posts, draft pages, unused media, spam comments, and even custom post types like products, portfolios, events, or reviews.

Whether you’re a blogger, developer, or site administrator, Smart Bulk Content Remover helps keep your WordPress site lean and organized without risking accidental data loss.

---

### 🚀 Why Use Smart Bulk Delete & Content Cleaner for WordPress?

Over time, every WordPress website accumulates clutter — outdated posts, temporary drafts, test pages, old media files, and spam comments. These not only make your site harder to manage but can also affect **database performance and backup size**.

With Smart Bulk Delete & Content Cleaner for WordPress, you can:
* Clean up thousands of items in a few clicks.
* Target specific content using advanced filters.
* Choose between **Trash** or **Permanent Delete**.
* Quickly review what’s being deleted before confirming.
* Keep your database optimized and your dashboard tidy.

---

### 🧹 What You Can Delete

* **Posts** – Delete posts by type, author, status, or date.
* **Pages** – Remove outdated or test pages in bulk.
* **Custom Post Types** – Works with WooCommerce products, events, portfolios, news, books, and any other custom type.
* **Media Files** – Delete unused images or unattached uploads. Includes statistics for total files, attached/unattached, and total size before deletion.
* **Comments** – Bulk remove spam, pending, or trashed comments sitewide.

---

### ⚙️ Advanced Filters & Options

Every section includes flexible filters to give you complete control over what’s removed:

* Filter by **Post Type**, **Status**, **Author**, or **Date Range**.
* Search posts by **Title** or **Content keywords**.
* Media filters include **Date Range**, **Month**, **Year**, and **Author**.
* Choose between **Move to Trash** or **Permanently Delete**.
* Select specific items or use **Select All** for mass cleanup.

---

### 🧠 Safe, Simple & Efficient

* **Non-destructive by default** – content moves to Trash unless you choose “Permanent Delete.”
* **Restore accidentally deleted content** from Trash easily.
* **Lightweight** and optimized – minimal database overhead.
* **Responsive design** – works beautifully on desktop, tablet, and mobile.
* **Native WordPress UI** for a seamless experience.

---

### 💡 Ideal For

* **Bloggers** who want to delete old drafts or outdated posts.
* **Site administrators** managing large WordPress sites.
* **WooCommerce store owners** cleaning up old or test products.
* **Developers and testers** who frequently reset content during testing.
* **Agencies** maintaining multiple client websites.

---

### ✅ Key Features at a Glance

* Bulk delete **posts, pages, media, comments, and any custom post types**.
* Advanced **filters**: author, status, date range, search, and more.
* **Media statistics**: see totals, sizes, and attached/unattached counts.
* Option to **move to Trash or permanently delete**.
* **Lightweight, fast, and responsive** admin interface.
* Compatible with **WordPress Multisite** (per-site use).
* Works seamlessly with **WooCommerce, Easy Digital Downloads, and other CPTs**.

---

### 🔒 Safety & Performance

Smart Bulk Delete & Content Cleaner for WordPress is designed for **safety first**:
* Uses built-in WordPress delete APIs.
* Verifies user capabilities before deleting.
* Respects post meta and attachment relationships.
* Ensures consistent database integrity.

You can confidently use it on production sites — the default Trash behavior ensures you can recover any mistakenly deleted content.

---

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/smart-bulk-content-remover`, or install it directly from the WordPress Plugin Directory.
2. Activate the plugin from the **Plugins → Installed Plugins** page.
3. Go to **Smart Bulk Content Remover** (or find it in the admin menu).
4. Choose a section: **Posts**, **Pages**, **Media**, or **Comments**.
5. Apply filters, preview items, and delete safely in bulk.

---

== Frequently Asked Questions ==

= ❓Does this plugin permanently delete content? =
By default, items are moved to the Trash for safe recovery. If you check the “Permanently Delete” option, content will be deleted immediately and cannot be restored.

= ❓Will it work with custom post types (like Products or Portfolio)? =
Yes! It automatically detects and lists all **public custom post types** registered on your site, including WooCommerce products and others.

= ❓Can I delete only unattached media files? =
Yes. The Media section includes detailed statistics with filters for **attached** and **unattached** images, allowing you to remove only unused files.

= ❓Can I filter by author or date range? =
Absolutely. You can filter by post author, publish date, or a custom date range to delete only specific sets of content.

= ❓Is there a way to undo deletions? =
If you move content to the Trash, it can be restored from the WordPress Trash screen. Permanent deletions are final and cannot be undone.

= ❓Does it support Multisite? =
Yes, Smart Bulk Delete & Content Cleaner for WordPress works on each individual site within a Multisite network.

= ❓Will it slow down my site? =
No. The plugin is lightweight, uses optimized database queries, and runs only in the admin area — it won’t affect your frontend performance.

---

== Screenshots ==

1. Bulk Post Deletion screen with filters for status, author, and date.
2. Page Remover screen with search and bulk action tools.
3. Media Remover with detailed statistics (attached/unattached, file size).
4. Comment Remover showing comment status filters and counts.

---

== Changelog ==
= 1.1 =
* Added new feature Schedule Automatic Cleanup for pages

= 1.0 =
* Initial release of Smart Bulk Delete & Content Cleaner for WordPress.
* Added support for bulk deleting posts, pages, custom post types, media files, and comments.
* Added advanced filters (status, author, date range, search).
* Added media statistics panel with total count, attached/unattached breakdown, and total size.

---

== Upgrade Notice ==

= 1.0 =
First release — safely clean up your WordPress site in bulk with flexible filters and a fast, intuitive UI.

---

== Credits ==

Developed by [Kirtikumar Solanki](https://profiles.wordpress.org/solankisoftware/).  
Donations welcome via [PayPal](https://paypal.me/kirtikumar89).  

---

