=== AJdG User Cleaner === Contributors: adegans Tags: users, delete, delete users, user, accounts, delete accounts, register, user registration, registration, protection, woocommerce, bbpress Donate link: https://www.arnan.me/donate.html Requires at least: 4.6 Tested up to: 5.5 Requires PHP: 5.6 Stable tag: 1.0.1 License: GPLv3 Delete any useless newly registered accounts on a daily schedule. == Description == If you have a lot of people (or bots) registering on your site that end up doing nothing with their account they may as well be deleted. **AJdG User Cleaner** works on a daily schedule to check and delete unused accounts that registered 2 weeks before. This means that the new registrant has 2 weeks to do something with their account. Doing something means; post a comment, create a page or create a blogpost. Additionally **AJdG User Cleaner** supports WooCommerce and bbPress. If the user creates an order in WooCommerce or a topic or reply in bbPress the account is not deleted. If either WooCommerce or bbPress is not active those will not count towards deleting the users. This works very simple, **AJdG User Cleaner** checks applicable accounts for the required activities. The simplicity of the plugin also means that no warning or notification is given when deleting accounts. Accounts are not placed in a trash bin. Deleting of accounts is permanent. = Features = * Daily delete unused accounts * Check for user activity before deleting * Sends an email to the administration email address with how many accounts were deleted that day * Supports WooCommerce checks is the account has orders * Supports bbPress checks if topics and replies are posted by the account == Installation == 1. Navigate to Plugins > Add New in your dashboard. 2. Search for 'AJdG User Cleaner' or 'Arnan User Cleaner' in the plugin database and click install on the **AJdG User Cleaner** plugin. 3. Activate **AJdG User Cleaner** when done. 4. Useless users will be deleted in the background from now on. This plugin has no settings. == Frequently Asked Questions == = I have other activities not covered by this plugin = **AJdG User Cleaner** does not check for it. So the user may be deleted. = How do I know the plugin works = **AJdG User Cleaner** sends a email notification when the cycle is finished and users have been deleted. Alternatively you can check your Users dashboard, if a bunch went 'missing'... Well, there you go. = Will this delete administrator accounts? = **AJdG User Cleaner** will never delete Administrator or Editor accounts. All other accounts can be deleted. = Can I recover deleted accounts? = No, there is no trash bin or undo button. The deleted user can of-course register a new account. = Will this delete all user data? = All associated meta data will be deleted using the official wp_delete_user() function. = Where are the settings? = This plugin has no settings and works silently in the background. = Will this overload the site? = Generally no. However, if you have many accounts, say 3000 or more, the first cycle of deletions may include many accounts. This can slow down your site for a few seconds. After that, only the new accounts are checked. As an example - when I first used this plugin on a real site it had about 7700 accounts. 2500+ got deleted, this took about 10 seconds. = I've cleaned out old accounts but they are not deleted = Simply de-activate and re-activate the plugin to start over. Remember, this counts as a first run, so the first cycle may take a few seconds. = I need help with this plugin = You can asks your questions on my [support forum](https://ajdg.solutions/forums/forum/wordpress-plugins/?pk_campaign=usercleaner). = This is cool, do you have more plugins? = Yep, check out my website [AJdG Solutions](https://ajdg.solutions/plugins/?pk_campaign=usercleaner) == Changelog == = 1.0.1 - 3 August, 2020 = * Tested to work with WordPress 5.5 = 1.0 = * First version