If you have a site with lots of user signups, but you want to make sure those users are active, you can use WP User Manager to delete user accounts that have not logged in to the site for a period of time.
To do this, you need to have the Security addon installed.
- Navigate to the Users > Settings page
- Click on the Security tab
- Turn on the ‘Inactive Account Deletion Reminder’ setting
Here you can set the number of days of inactivity before a user is deleted. The default is 30.
If you want to send an email to the user before their account is deleted then with the ‘Send Inactive Account Email’ setting enabled, users will get an email sent 7 days before they are to be deleted. If they log in after getting the email, they won’t be deleted.
If the ‘Inactive Account Interval’ is less than 7 days, then the email reminder is sent out 1 day before deletion.
You can edit the subject and body of the reminder email sent from Users > Emails > Delete Inactive Accounts