WordPress Reference
< All Topics
Print

BuddyPress: How to remove the setting Profile Visibility

function profile_visibility_subnav() {
    global $bp;
      bp_core_remove_subnav_item( 'settings', 'profile' );
}
add_action( 'bp_setup_nav', 'profile_visibility_subnav',999 );

Source:

https://buddypress.org/support/topic/remove-profile-visibility-subnav-2/

latest Articles

Table of Contents