How to disable login for all

In some rare cases you may have to disable WordPress’s login feature for all users. To do this add these lines to your theme’s functions.php:

 

Close Menu