customization – How to stop login for SPECIFIC users BEFORE a specified date
I’m developing a membership website (using Memberpress) and want to send the login information to some users before the site goes live. I want these specific users to be UNABLE to login BEFORE my launch date. All others users – admins, the client, test users that I create – shouldn’t be blocked from logging in.
What’s the best way to do this?
- Cron job that changes one or more roles of specific users
- some plugin (which I’m not aware of)
- Use ACF to setup a “date” field and run a check on login