=== WP Bulk Delete ===
Contributors: xylus, dharm1025, rajat1192  
Donate link: http://xylusthemes.com  
Tags: delete, bulk, clean database, bulk delete, bulk clean
Requires at least: 4.9
Requires PHP: 5.3
Tested up to: 6.9 
Stable tag: 1.3.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Delete posts, pages, comments, users, taxonomy terms and meta fields in bulk with different powerful filters and conditions.

== Description ==

WP Bulk Delete is a powerful WordPress plugin designed to help you delete posts, pages, comments, users, taxonomy terms, and meta fields in bulk with flexible filters and conditions. It helps in managing unnecessary data, improving website performance, and reducing database load.  

posts delete, delete all, mass delete, delete posts, delete comments, delete users, delete meta, delete taxonomy, delete revision, wp clean, clean trash, bulk user delete, clean spam, delete with condition, delete with filter, remove  

## 🔒 Powerful Features ##

## 💻 Database Cleanup
* ✅ Delete Auto Drafts, Trash Posts, and Revisions
* ✅ Delete Orphaned and Duplicate Meta:
   * 🗃️ Post Meta:
        * Orphan Post Meta
        * Duplicate Post Meta
   * 💬 Comment Meta:
        * Orphan Comment Meta
        * Duplicate Comment Meta
   * 👥 User Meta:
        * Orphan User Meta
        * Duplicate User Meta
    * 🔖 Term Meta:
        * Orphan Term Meta
        * Duplicate Term Meta

## 📂 Deleting Posts
* ✅ Delete Posts by Post Type.
* ✅ Delete Posts by Status.
* ✅ Delete Posts by Category.
* ✅ Delete Posts by Tag.
* ✅ Delete Posts by Authors.
* ✅ Delete Posts by Post Registered Date.
* ✅ Delete Posts by Post Modified Date.
* ✅ Delete Images Along with Posts [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Meta Fields [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Ids. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Duplicate Post. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Title Contains [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Content Contains [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Post Link. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Content Character Count [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Content Word Count [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Posts by Custom Query.
* ✅ Schedule Post Deletion [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).

## 📝 Deleting Comments
* ✅ Delete Comments by Status.
* ✅ Delete Comments by Types. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Comments by Authors. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Comments by Authors Email. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Comments by Meta Fields [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Comments by Post. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Comments by Registration Date.
* ✅ Schedule automatic comment deletion [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).

## 👤 Deleting Users
* ✅ Delete Users by Roles.
* ✅ Delete Users by Registration Date.
* ✅ Assign deleted user data to another user [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Users by User Meta. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Users by Email. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Users by Display Name. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Users by Nicename. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Delete Users by Login. [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).
* ✅ Schedule automatic user deletion [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/).

## 🗃️ Deleting Categories and Tags
* ✅ Delete Entire Categories or Tags for Any Post Type
* ✅ Select the post type (Posts, Pages, or Custom Post Types)
    * Choose the taxonomy:
        * ➡️ Categories
        * ➡️ Tags
    * Delete all terms in bulk with a single click


### 🛒 WooCommerce ([PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/))
##📦 Delete WooCommerce Orders
* ✅ Delete Order by Status.
* ✅ Delete Order by Order Date
* ✅ Delete Order by Total( min, max, equal ).
* ✅ Delete Order by Payment Method Filter  

### 👥 WooCommerce Users
* ✅ Delete User by Roles  
* ✅ Delete User by Registered Date.
* ✅ Delete User by User Meta.
* ✅ Delete User by Emails.
* ✅ Delete Users Who Have No Orders. 

## ⚙️ WooCommerce General
* ✅ Delete Inactive Users.
* ✅ Delete User Who is Not Listed in WordPress but Exist in WooCommerce( who has no order )

== Installation ==

### 🔄 Install via WordPress Admin:
1. Log in to WordPress and navigate to "Plugins" > "Add New".
2. Search for "WP Bulk Delete" and click "Install Now".
3. Click "Activate" to enable the plugin.

### 🔄 Manual Installation:
1. Download "WP Bulk Delete" from WordPress.org.
2. Unzip the file and upload it to `wp-content/plugins/`.
3. Go to "Plugins" in WordPress and activate it.

== Frequently Asked Questions ==

= Can this plugin delete custom post types? =
✅ Yes, the plugin supports deleting any custom post type (CPTs).

= Does this plugin support scheduled deletions? =
✅ Yes, with the PRO version, you can schedule post, comment, and user deletions.

= Can I delete posts by custom fields or meta values? =
✅ Yes, the PRO version allows you to delete posts based on custom field values and meta conditions.

= Does this plugin support bulk deletion of posts, comments and users? =
✅ Yes, you can delete posts, comments and users in bulk using multiple filters.

= Can I delete categories and tags in bulk? =
✅ Yes, you can delete entire categories and tags for any post type in bulk with a single click.

= Can I undo the deletion process? =
❌ No, the deletion process is permanent. Once the posts, comments, or users are deleted, they cannot be restored. It is recommended to take a backup before performing bulk deletions.

= Can I delete images and media along with posts? =
✅ Yes, with the PRO version, you can choose to delete attached media files when deleting posts, freeing up server space.

= Can I delete WooCommerce customers without orders? =
✅ Yes, with the PRO version, you can delete WooCommerce customers who have no orders or only have failed/canceled orders, helping you keep your customer list clean.

= Can I bulk delete posts by custom post type (CPT)? =
✅ Yes, you can delete custom post types (CPTs), including WooCommerce products, events, or any CPT registered on your WordPress site.

== Screenshots ==

1. 🧹 Cleanup
2. 🗂️ Delete Posts
3. 💬 Delete Comments
4. 👤 Delete Users
5. 🔖 Delete Taxonomies & Tags
6. ⏱️ Scheduled Delete
7. 📜 Scheduled Delete History
8. 🛒 Delete WooCommerce Orders
9. 👥 Delete WooCommerce Users
10. 🔍 Delete WooCommerce General Filter

== Changelog ==

= 1.3.9 =
* ADDED: Delete User by Display Name. ( PRO )
* ADDED: Delete User by Nicename. ( PRO )
* ADDED: Delete User by Login. ( PRO )
* ADDED: Delete Comments by Authors Email. ( PRO )
* ADDED: Delete Comments by Meta Fields. ( PRO )

= 1.3.8 =
* ADDED: Active/Pause button in schedule delete. ( PRO )
* ADDED: Comment Description filter. ( PRO )
* IMPROVEMENTS: User and Post meta key fields changed from input to dropdown. ( PRO )

= 1.3.7 =
* FIX: Added admin permission checks for AJAX and removed redundant load_textdomain() function.

= 1.3.6 =
* ADDED: Delete WooCommerce Products Section ( PRO )
* IMPROVEMENTS: Improved security and compatibility with WordPress coding standards.
* IMPROVEMENTS: Support for WP 6.8

= 1.3.5 =
* ADDED: Added WooCommerce Section Separately( PRO )

= 1.3.4 =
* ADDED: Delete Post by IDs Filter ( PRO )
* ADDED: Delete Duplicate Post/Page/Any Cpts Filter ( PRO )
* ADDED: Comment Type Filter ( PRO )
* IMPROVEMENTS: Support for WP 6.7

= 1.3.3 =
* IMPROVEMENTS: Text changed and Added Feedback from the header

= 1.3.2 =
* IMPROVEMENTS: XSS Security Bugs

= 1.3.1 =
* ADDED: WooCommerce Order Trash Status
* FIX: Multiple Schedule Delete Running bug
* IMPROVEMENTS: Allowed CPT's Post Status
* IMPROVEMENTS: Comments Page Loading Speed
* IMPROVEMENTS: Merged CleanUp options

= 1.3.0 =
* ADDED: Limit in Comment Delete Section
* ADDED: New filter to delete posts based on word count in post content.
* IMPROVEMENTS: Plugin's New Interface

= 1.2.9 =
* IMPROVEMENTS: Support for WP 6.6
* IMPROVEMENTS: Woocommece Order status filter
* IMPROVEMENTS: Added new options to the user's email filter and smoother the filter.

= 1.2.8 =
* ADDED: Delete the post's image with a custom query.
* ADDED: Total Delete Count in schedule
* IMPROVEMENTS: Decreased load time in the User Delete section.

= 1.2.7 =
* ADDED: Delete Posts by URL.(PRO)
* ADDED: Delete the image along with the post.(PRO)
* ADDED: Delete Users who don't have an order ( WooCommerce ).(PRO)
* FIXED: Don't Repeat Schedule Bug.(PRO)

= 1.2.6 =
* ADDED: Posts Delete by Content Character Count Filter.(PRO)
* ADDED: Background Progress Prefix (PRO)
* FIXED: Delete WP Cron queue when you delete schedule delete.(PRO)
* IMPROVEMENTS: Post type List Optimized
* IMPROVEMENTS: Support for WP 6.4
* IMPROVEMENTS: Added Support for PHP 8.2 and some design and security fixes

= 1.2.5 =
* ADDED: Delete post of selected category only. If post has multiple category it will not deleted.
* ADDED: PHP Memory and Timeout limit notice in all pages.
* ADDED: Delete users by emails. You can provide list of email ids and it will delete related users. ( PRO )
* ADDED: Permanently delete large trash data. ( PRO )
* FIXED: Comment Counter bug.

= 1.2.4 =
* ADDED: Post Date Delete 1 month, 6 months, 1 year, 2 years options.(PRO)
* ADDED: 10 minutes and 30 minutes schedule option.(PRO)
* ADDED: PHP  Memory and Timeout limit notice.
* ADDED: Delete Post with Custom Query option.
* ADDED: WooCommerce Order Delete Section. ( PRO )
* ADDED: Post deleted by modified date filter.

= 1.2.3 =
* ADDED: Taiwan language support.
* ADDED: "Upgrade to Pro"  Admin menu.
* FIXED: Move to Trash option bug.
* FIXED: Nothing to delete notice bug.
* IMPROVEMENTS: Support for WP 6.1

= 1.2.2 =
* ADDED: Optional Plugin deactivation Feedback
* FIXED: Delete button was not showing for WP < 5.3
* IMPROVEMENTS: Support for WP 5.7

= 1.2.1 =
* FIXED: jQuery DateTimePicker Error

= 1.2.0 =
* ADDED: Scheduled Delete
* ADDED: Multiple options in date range
* ADDED: PRO as addon
* IMPROVEMENTS: Some code improvements

= 1.1.4 =
* FIXED: jQuery Error

= 1.1.3 =
* FIXED: Some bug fixes

= 1.1.2 =
* FIXED: Some bug fixes in delete users

= 1.1.1 =
* Added: post count after posttypes

= 1.1.0 =
* Added Delete Comments
* Added Delete Users
* Added Delete Postmeta fields
* Added Delete Usermeta fields
* Added Delete Commentmeta fields
* Added Delete Taxonomy Terms 
* Added Cleanup

= 1.0.0 =
* Initial Version.

== Support ==

* 🔧 Found a bug or have a feature request? Open a [Support Ticket](https://xylusthemes.com/support/).
* ⭐ Like the plugin? Leave a review on our [WordPress plugin page](https://wordpress.org/support/plugin/wp-bulk-delete/reviews/).
* 💼 Explore more [WordPress Plugins](https://xylusthemes.com/plugins/) by XylusThemes.

### Upgrade to the [PRO Version](https://xylusthemes.com/plugins/wp-bulk-delete/) for advanced features like:
* 🔄 Scheduled deletion of posts, comments, and users.
* 📂 Delete posts by Meta Fields.
* 🔗 Delete posts by IDs.
* 🔁 Delete duplicate posts/pages/CPTs.
* 🔍 Delete posts by Title Contains.
* ✍️ Delete posts by Content Contains.
* 🔗 Delete posts by Post Link.
* 🔢 Delete posts by Content Character Count.
* 🔠 Delete posts by Content Word Count.
* 📅 Schedule automatic comment deletion.
* 👥 Advanced user deletion filters.
* 👤 Delete users by Meta Fields.
* 📧 Delete users by Emails.
* 🔀 Assign deleted user data to another user.
* 🛒 Delete WooCommerce orders by:
    * Status.
    * Order Date.
    * Order Total (min, max, equal).
    * Payment Method.
* 👥 Delete WooCommerce users by:
    * Roles.
    * Registered Date.
    * User Meta.
    * Emails.
    * Users with no orders.
* ⚙️ Delete inactive users.
* 🔍 Delete users not listed in WordPress but existing in WooCommerce.
* 🗃️ Delete images along with posts.
* 🚀 And much more!
