Support » Plugin: Private BuddyPress » [Plugin: Private BuddyPress] How can exclude some pages from protection

  • 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…..

    http://wordpress.org/extend/plugins/private-buddypress/

Viewing 1 replies (of 1 total)
  • Anyone figured this out yet? I would like my about page for example be visible to non logged in visitors to my site.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Private BuddyPress] How can exclude some pages from protection’ is closed to new replies.