Private BuddyPress
How can exclude some pages from protection (2 posts)

  1. ryane1984
    Posted 4 years ago #

    Hi guys,
    I'm in wonder how can exclude one page from protection
    I know there's a way to exclude a blog directory from protection
    As the plugin writter has said;

    function make_blog_directory_visible($visibility) {
    global $bp;

    if ( bp_is_directory() && $bp->current_component == $bp->blogs->slug )
    return false;

    return $visibility;

    add_filter('pbp_login_required_check', 'make_blog_directory_visible');

    With this function just can use this function for a blog directory not a certain page

    Any help highly appreciated.....


  2. hallsy
    Posted 4 years ago #

    Anyone figured this out yet? I would like my about page for example be visible to non logged in visitors to my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Private BuddyPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic