skpc1 (@skpc1)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • skpc1
    Participant

    @skpc1

    HOW TO REDIRECT USERS, WORDPRESS BUDDYPRESS HIDE PAGE FROM NON-MEMBERS, NON-LOGGEDIN USERS..

    How to hiding / redirect users page from non logged in users ?

    Here the simple step to protect your WordPress BuddyPress member only pages. Add this simple snippet into your theme’s ‘functions.php’ file. That’s it..

    The below snippet sample will redirect the visitor if the visitor is not logged in & trying to visit the sensitive BuddyPress pages.

    Will redirect non-logged-in users trying to access private content to your front page or home page
    Ref: https://vvcares.com/blog/post/wordpress-buddypress-hide-page-from-non-members

Viewing 1 replies (of 1 total)