=== Dummy Users Finder & Cleaner ===
Contributors: maunish31
Tags: dummy users, fake users, spam users, delete users, woocommerce
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Find and delete WordPress users with dummy definitions/fake email addresses. Identifies suspicious email patterns and provides bulk deletion options.

== Description ==

Dummy Users Finder & Cleaner helps you keep your WordPress database clean by identifying and removing users with fake or temporary email addresses.

This plugin is essential for sites that have open registration and get hit by spam bots or users creating fake accounts. It intelligently detects dummy emails based on:
*   **Known Disposable Domains**: A built-in list of common temporary email providers (e.g., mailinator.com, 10minutemail.com).
*   **Pattern Detection**: Identifies emails like `test@...`, `demo123@...`, `user001@...`.
*   **Suspicious Formats**: Detects random string usernames and other bot-like patterns.
*   **Custom Domains**: Add your own list of domains to block/flag.

**Key Features:**
*   **Scan & Detect**: One-click scan to find potential dummy users.
*   **Domain Analysis**: Group users by email domain to find bulk registrations (e.g., 50 users from `@suspicious-site.com`).
*   **Smart Protection**: Automatically excludes users who have **WooCommerce Orders** to prevent accidental data loss.
*   **Bulk Actions**: Select and delete multiple users at once.
*   **Reassign Content**: If a dummy user has created posts or comments, you are prompted to reassign that content before deletion.
*   **Export**: Export a CSV list of deleted users for your records.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/dummy-users-finder-cleaner` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Go to **Users > Dummy Users** to start scanning.

== Frequently Asked Questions ==

= Will this delete real customers? =
The plugin has a built-in safety check to **exclude** any user who has placed a WooCommerce order. However, you should always review the list before bulk deleting.

= Can I add my own blacklisted domains? =
Yes! Go to the **Settings** tab and add any domains you want to flag.

= What happens to posts created by these users? =
When you delete users, the plugin checks if they have any content (Posts, Comments, Orders). If they do, you will be asked to reassign that content to another user (like an Admin) before deletion proceeds.

== Screenshots ==

1.  **Pattern Detection**: Scan results showing flagged users.
2.  **Domain Analysis**: Grouping users by domain to identify spam networks.
3.  **Settings**: Add your own custom domains to the blacklist.

== Changelog ==

= 1.0.0 =
*   Initial release.
