Inactive User Deleter

Description

When your project lives long time, site will get a lot of fake user’s registrations (usually made by spammers).
This tool will help you to clean this mess up. It can filter, select and delete packs of users.

See more information on https://shra.ru/hobbies/plugins/wordpress-inactive-user-deleter/ – plugin home page.

Screenshots

  • Remember, my plugin will never delete user No 1 or users having role 'administrator', and will do deleting operations only after message like that - <last warning>.
  • Filtering page
  • Trial users deleter tool
  • Miscellaneous page

Installation

To install this plugin:

  1. Download plugin
  2. Extract and copy plugins files to /wp-content/plugins/inactive-user-deleter directory
  3. Activate it (enter to /wp_admin, then choose plugins page, press activate plugin)
  4. Go to /wp-admin/users.php?page=inactive-user-deleter.php and follow instructions there.
  5. Enjoy, I hope 🙂

FAQ

Please feel free to ask here: https://wordpress.org/support/plugin/inactive-user-deleter/

Reviews

June 30, 2023 1 reply
Hmm, it is useful but not working the way I think it is supposed to.5000 record(s) are shown, I click mark all, I click delete all marked users -> 985 users are being deleted. Still better than doing it without the plugin but why cant I delete all (~20k) users being found with the flags I selected, or at lest the 5000 I had marked?Anyhow, give it a try maybe it works for you.Also, it is free so big thanks to the creator.
January 26, 2023 1 reply
The plugin is great.I installed it to delete all my inactive users (users who have not logged in over 12 months).But in order to find those users I have to install the plugin WP Last Login.But this plugin only counts all logins after the day of the installation.So it does not really make sense to find the "sleeping Users".Is there another, better way to find all the inactive users?Thanks for your help.
November 3, 2020
This plugin is great, it does what is expected of it. All features are 100% working.
October 5, 2020
No filters work with my WP and you dont have to show all 16k users on the confirmation page. As well would be cool to delete all 16k at once, but the plugin cant delete more than 2.8k at once... But thx, took me just 10 mins to remove 16k.
September 5, 2020
The Inactive User Deleter plugin for WordPress helped me purge the userlist of one of my websites. I was able to weed out the spammers and clean up my database at the same time. Thank you very much! A note to those who plan to download it: please read and understand the options carefully. In the options, "AND" is different from "OR" -- AND means all situations should be present, or means one of these situations. If you're looking to save users with published posts or approved comments, it would help to sort the list based on posts or comments to the users listed according to the number of posts or comments they made.
February 10, 2019 2 replies
This plugin is working and it is very good at what it does. It has also just been updated by the author. I initially wrote a negative review as it appeared not to work on my website, however, I soon found out that this was down to my user error. When the user selects delete, the page refreshes and this is where the user can easily miss the second CONFIRM DELETION WARNING. If this second warning is not seen and not confirmed, then no users will be deleted. This plugin is perfect for analysing poss and comment activity and identifying zombie accounts. In my case It did not detect posts or comments made other forum plugins but I suspect this is because this data is not stored in the native WP database. All in all it's a great tool and one of the only wordpress plugins currently available with this functionality. My thanks to the Author.
Read all 17 reviews

Contributors & Developers

“Inactive User Deleter” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.64

New search condition has been added – pending users (Requested by @tradenet).

1.63

Compatibilty with plugin Disable User Login was added, and some cosmetic changes (thanks to @wbenterprises for ideas).

1.62

Minor changes and fixes, testing with next core version of WP 6.3, and update discussed with @timmoser: now PHP max_input_vars limitation is not an issue.

1.61

Continue security fixing started at 1.59 (thanks FearZzZz).

1.60

Fix for PHP 8.0 Warning: Undefined array key “confirmPeriod” (requested by Hellnik).

1.59

Updates to protect all form against Cross-Site Request Forgery (CSRF) (requested by Graham aka grl570810).

1.58

No actual changes, just testing with next core version of WP 6.1.1

1.57

New filter: Woocommerce anonymous order filter (visible if Woocommerce is active) (requested by Luboslives).
New action: publish posts of selected users (requested by Fran).

1.56

Fixed bug in the disabled-users feature (reported by Fran).

1.55

New filter by user name (login) (requested by Fran).

1.54

New action: not to delete users, but change to draft status all their posts (requested by Fran).

1.53

Integration with two following plugins ‘user-login-history’ and ‘when-last-login’ to receive last known login date.

1.52

The User Level filter has been removed as deprecated. The User list can be exported into CSV file (requested by Fran).

1.51

Optional ability to disable an account instead of deletion (requested by evillizard). The disabled user cannot log-in and has the blocked status. The user also can be unblocked back.
Filter by UserRole was added (feature was requested by sonfisher).

1.50

Trial user deleter feature has been presented (requested by smallguy).

1.45

User email is shown in the list (requested by Arthur Brogard).

1.44

New filter by period after last login.

1.43

Tested with new core version of WordPress 5.0.

1.42

Flags are rebuilded. Now you have new option – “no matter”, if don’t want use a condition. I fixed some code in template (for translation purposes).

1.41

Hotfix for ‘known date log-in’ flag. Maybe it is not final 🙂

1.4

There was added Classipress support by user (aka Manish) request.

1.31

New MISC option – Email before delete. Thanks to KadGab for idea.

1.3

Added some features and few filters. Thanks to Greg Ross for new ideas.

1.2

Plugin resurrection. 🙂 I have done some requested features, fixed bugs, and fully rewrote code.

1.1

Plugin renovation. Bug fixing, some new options.

1.0

It was an initial version. Everything.