Plugin Author
Laura
(@lauraquellmalz)
This plugin replaces the whole wp-login.php and wp-register.php Stuff. So, if you are not logged in and you head to /wp-admin, you will be redirected to /user-login/ and if you perform the login, you will be redirected back to your last location. In my described case /wp-admin.
I’ve had clients whom don’t want the registered users to see the backend of WordPress. This plugin does the trick.
Thread Starter
Li-An
(@li-an)
Thank you for precisions.
But the plugin does not hide completely the admin area because after connection if I try to go to /wp-admin I can see it. Is it the normal behaviour of the plugin ?
Plugin Author
Laura
(@lauraquellmalz)
Hi,
indeed it is so for everyone, except for subscribers. I check the “edit_post” capability as you can see here: https://github.com/dasllama/User-Frontend/blob/master/inc/restrict-backend-access.php#L17
Maybe I should add a filter there if a developer wants to have another capability there?
Best regards,
Llama
Thread Starter
Li-An
(@li-an)
OK, I did not test so far.