@sedmikraska
Active 5 years, 2 months ago
-
Varun Dubey replied to the topic Remove Profile Visibility Subnav in the forum How-to & Troubleshooting 5 years, 9 months ago
Hi @sedmikraska You can use following code
function profile_visibility_subnav() {
global $bp;
bp_core_remove_subnav_item( 'settings', 'profile' );
}
add_action( 'bp_setup_nav', 'profile_visibility_subnav',999 );