Auto delete WordPress users according to time

Question

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.

0
, , , , krish 2 years 2020-01-16T08:38:26-05:00 0 Answers 81 views 0

Leave an answer

Browse
Browse