WordPress › Support » [Plugin: Private BuddyPress] Only exclude SOME pages (h... - 0 views
-
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');
-
Vernon Fowler on 01 Apr 13This works by page ID as well as the array option including slug and Page Title - see highlight below.
-
-
is_page(array(42,'about-me','Contact'))