Remove Registered Subscribers with No Posts / Comments from WordPress

Clean Up Users Plugin  is a WordPress plugin that removes registered subscribers that have had no comments or posts. It can be useful for clearing out spam user accounts that were registered by bots and have no posts or comments associated with them. Other options may be added in the future.

Download Clean Up Users WordPress Plugin

Installing

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
  • Enable the plugin.
  • Use the plugin by visiting Settings > DDCleanUpUsers.

Usage

The usage of this plugin is very simple. Just view the options page for the plugin (under Settings > DDCleanUpUsers) and you will see one checkbox: Delete users with no comments or posts. Just check the box and click Submit. Registered subscribers who have no posts or comments will be removed.

Customizing

By default, the plugin will only check for subscribers with no comments and posts, but if for some reason you need to have it also check the editors, contributors, etc. you will find a way to change this in the code. Just search for // user roles and change the variables below. [source]

Be the first to comment

Leave a Reply

Your email address will not be published.


*