Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Changing default tab in the settings menu

@mercime

Participant

@rogercoathup https://trac.buddypress.org/browser/tags/1.2.8/bp-core/bp-core-settings.php

the bad way – change `’position’ => 20, to ‘position’ => 10,` and vise versa in core lines 21 and 22 :-)

or an easy way

`remove_action( ‘bp_setup_nav’, ‘bp_core_add_settings_nav’ );

add_action( ‘bp_setup_nav’, ‘bp_core_roger_settings_nav’ );
funtion bp_core_roger_settings_nav() {
global $bp;
// the stuff
}

looking for the best way

Skip to toolbar