Auto delete WordPress users according to time
On my WordPress site I require registration with email confirmation to help filter out spam users. How do I delete users that haven’t activated their accounts by email automatically?
Is it possible to automatically delete users that are X days old? For example: if the user is 7 days old and not active, then the account should be automatically deleted. I’d like to check for this every day. Could someone please explain how to do this?
I am using the field name
tecla_users in my database.