[Plugin: Private BuddyPress] Only exclude SOME pages (how-to)
-
I’m shocked this hasn’t been incorporated into the plugin considering the amount of requests I’ve just read in this forum.
Alas, it is not hard to achieve. Simply modify the example code from the plugin FAQs in order to unblock a page by its ID number:
// unblock a page by id function make_page_visible($visibility) { global $bp; if (is_page(26)) return false; return $visibility; } add_filter('pbp_login_required_check', 'make_page_visible');
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Private BuddyPress] Only exclude SOME pages (how-to)’ is closed to new replies.