Restrict to wp-login.php for users

Generally we need to restrict our wordpress site users to acess wp-login.php, here is the code to accomplish this. Put this code into your themes functions.php and general users are restricted.

[php]

[/php]

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *