This topic contains 1 reply, has 1 voice. Last updated by Bruce 3 years, 6 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday May 7th, 2013 at 7:41 pm #49409 | |
If you’re looking to prevent certain Users from logging in, you can use this hack as a guideline. This hack hooks directly into the processes in /wp-login.php, which means it will work for logins from directly at /wp-login.php, and from things like the s2Member Pro Login Widget. In this hack, we’re redirecting all Users (except Administrators) with the Custom Capability deactivated to the homepage.
|