I am using buddypress and wordpress. There are a lot of registered but unverified members in my user list. How do I automatically delete an unverified user based on time (like a week)?
These unverified user have been accumulated over time and i need to manually delete them which is a confusing task, so is there a plugin which automatically deletes unverified users or do I need code?
After a long gap I found out, it’s just a simple query to delete users who are inactive for more than 30 days..
Add this code to your function.php and that it all your spam user would be gone in 30 days.