BuddyPress is closed to anyone who is not a member of the organisation: visitors are sent to log in, and logged-in non-members are sent to their own profile. People with the promote_users capability are exempt, and a member can always see their own profile.
Public groups
The groups directory and these screens of a public group stay open to everyone:
- Home: the group’s description, details and admins, without its activity
- Invite by email
- Photos
- The join and leave actions
Every other group screen needs membership, including Members, RSS feeds and tabs added by other plugins. A plugin that adds a tab which should be public must add its slug to the allowlist.
Activity
Non-members see no activity anywhere: activity loops come back empty and single items are refused, apart from a logged-in person’s own activity. The BuddyPress REST routes for activity, members and group members are closed to them as well.
Filters
lh_membership_return_public_group_screens: the screen slugs of a public group that stay openlh_membership_can_view_member_content: whether the current user can see member-only BuddyPress datalh_membership_return_gated_rest_route_patterns: the BuddyPress REST routes closed to non-members, as regular expressionslh_membership_login_required_check: the final say on whether the current BuddyPress screen needs membership

