hello i want to disable all tabs except "profil" and "activités" how do i do?
http://prntscr.com/ja73hq
@achinako,
Paste this code in wp-admin > Plugins > Editor > WPLMS Customizer Plugin > wplms-customizer.php
function bp_remove_nav_tabs() {
global $bp;
bp_core_remove_nav_item( 'forums' );
bp_core_remove_nav_item( 'achievements' );
}
add_action( 'bp_setup_nav', 'bp_remove_nav_tabs', 15 );
This will remove the buddypress tabs
I followed your instructions and I paste the code but the file is not updated
https://prntscr.com/jaq1yp
so I paste directly to the server and it does not work The tabs are still there
@achinako,
I have updated the above code. Please try again.