@mayawi
Active 8 months, 2 weeks ago
-
Amit Agrahari replied to the topic Disable password change in the forum How-to & Troubleshooting 10 months, 2 weeks ago
@mayawi Using the following code snippet, you can completely conceal the General tab in the settings.
add_action( 'bp_setup_nav', 'wbcom_custom_set_default_sub_nav', 20 );
function wbcom_custom_set_default_sub_nav() {
//Remove the general tab
bp_core_remove_subnav_item( bp_get_settings_slug(), 'general', 'members' );//Set the Email tab as…[Read more]