What sub-navigation element do you mean? If you want to completely remove the "Settings" parameter, you can do this in the plugin or functions.php
function my_admin_bar_mod(){
global $wp_admin_bar;
$wp_admin_bar->remove_menu( 'my-account-settings' );
}
add_action('wp_before_admin_bar_render','my_admin_bar_mod');
To remove only the Profile option in the Settings section, use this instead:
$wp_admin_bar->remove_menu( 'my-account-settings-profile' );
UPDATE:
""; , , . ? , . , "" 4040. ?
function mcs_bp_remove_nav() {
global $bp;
bp_core_remove_subnav_item( $bp->settings->slug, 'general' );
}
add_action( 'bp_setup_nav', 'mcs_bp_remove_nav', 99);
:
. , " ". , , 404. , , "".
function mcs_bp_change_settings() {
global $bp;
$args = array( 'parent_slug' => 'settings',
'screen_function' => 'bp_core_screen_notification_settings',
'subnav_slug' => 'notifications'
);
bp_core_new_nav_default( $args );
}
add_action( 'bp_setup_nav','mcs_bp_change_settingst', 5);