WordPress Plugin - Remove Spam
Subscribers

About the Remove Spam Users using a CRON job

This plugin deletes users from your WordPress system who have a role of subscriber and who have made no contributions of a post or a comment and who registered more that 7 days ago. A delay of 7 days is included to allow time for the registered user to make their comment.

A scheduled job runs every day and checks for those type of users and deletes them.

WordPress has 5 default roles of:

  • Admininstrator - has access to all adminstrative options and features.
  • Editor - can manage and publish posts.
  • Author - can publish their own posts.
  • Contributer - can write posts but cannot publish them.
  • Subscriber - has basic functionality such as leaving comments and changing their profile. This is usually the default role that a registered user will have.
  •  

    This script specifically targets subscribers as it is those that create comments.

     

    Visit the Plugin on the WordPress Site