WordPress.org

Forums

Private BuddyPress
Exclude some blog category from blog restriction (1 post)

  1. WebgroundMedia
    Member
    Posted 2 years ago #

    Hello!

    It's a very good plugin, realy. But I have a little problem...
    I want to exclude a category from blog restriction, and i can't make it...

    I try this code:

    function make_category_visible($visibility) {
        global $bp;
        if (in_category(1))
            return false;
        return $visibility;
    }
    
    add_filter('pbp_login_required_check', 'make_category_visible');

    And I try it with "is_category", but it's also wrong... (i'm not a programmer, so it's isn't easy for me...)

    Can anyone help me?

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by WebgroundMedia
  • This topic is not resolved
  • WordPress version: 3.4.2

Tags

No tags yet.