Delete Unverified Users (Manual)
This WordPress MU-plugin helps delete a very high number of pending users that have not verified their emails. If your site has thousands of unverified users—usually spammers—this one-click tool will clean them up.
★ 1stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mjaben/delete-pending-users-on-wordpress/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This WordPress MU-plugin helps delete a very high number of pending users that have not verified their emails.
If your site has thousands of unverified users—usually spammers—this one-click tool will clean them up.
What It Does
- Adds a page under Users > Delete Unverified Users
- Deletes users who:
- Have
user_status = 0(unverified) - Registered more than 24 hours ago
- Have the role
subscriber
- Have
- Logs deleted user IDs to
/wp-content/uploads/deleted-unverified-users.log
Installation
- Go to
/wp-content/in your WordPress site. - If the
mu-pluginsfolder doesn't exist, create it. - Save
delete-unverified-users.phpinto themu-pluginsfolder. - (Optional) Save this README for reference.
How to Use
- In your WordPress dashboard, go to Users > Delete Unverified Users
- Click the Delete Unverified Users button
- Unverified users matching the criteria will be permanently deleted
- Check
/wp-content/uploads/deleted-unverified-users.logfor a record of deleted user IDs
Notes
- This is a manual-only tool. It does not run automatically.
- Use with caution—deleted users cannot be recovered.
- Always back up your database before performing mass deletions.