[resolved] Keep subscribers out of the admin area (4 posts)

  1. Christiann
    Posted 4 years ago #

    I'm making a new WordPress site where I want users to register as subscribers but I don't want them to have access to the WordPress admin area at all. So I'm looking for way for all admin pages (in the wp-admin directory) to check if a logged in user is a "Subscriber", then redirect them out to the public homepage (not the admin homepage).

    I'm having a hard time figuring this one out. Any ideas?


  2. Christiann
    Posted 4 years ago #

    Awesome, that is very simple. I looked around but didn't manage to find it somehow. Thanks for your help!

  3. You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic