BuddyPress: How do you remove the setting Profile Visibility?

Report
Question

Please briefly explain why you feel this question should be reported.

Report
Cancel

Answer ( 1 )

    0
    2023-09-30T15:55:51-05:00

    Please briefly explain why you feel this answer should be reported.

    Report
    Cancel
    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/

Leave an answer

Browse

By answering, you agree to the Terms of Service and Privacy Policy.