Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,912
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,185
-
Try this (add to bp-custom.php):
function bpfr_remove_visibility_level( $levels ) {
global $bp;
if ( isset( $levels['loggedin'] ) ) {
unset( $levels['loggedin'] );
}
if ( isset( $levels['public'] ) ) {
unset( $levels['public'] );
}
return $levels;
}
add_filter( 'bp_xprofile_get_visibility_levels', 'bpfr_remove_visibility_level' );