January 6, 2016 at 16:57
#96659
sharmstr
Moderator
It works. You’re probably just not using the correct action which should be init.
COPY CODE
function my_change_profile_tab_order() {
global $bp;
$bp->bp_nav['profile']['position'] = 10;
$bp->bp_nav['forums']['position'] = 15;
$bp->bp_nav['activity']['position'] = 20;
$bp->bp_nav['friends']['position'] = 30;
$bp->bp_nav['groups']['position'] = 40;
$bp->bp_nav['messages']['position'] = 60;
$bp->bp_nav['settings']['position'] = 70;
}
add_action( 'init', 'my_change_profile_tab_order', 999 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com