Replies
Viewing 2 posts - 1 through 2 (of 2 total)
Hi Brajesh, that is actually what I wound up doing and so far so good. However I have ran into an additional problem that I hope you can help me with.
How can I now set my new tab as the default settings tab? The new tab slug is accountdetails
I have tried using this code in functions.php but it is not working.
function change_default_settings_tab() {
$bp = buddypress();
bp_core_new_nav_default(array(‘parent_slug’=>’$bp->settings->slug’, ‘subnav_slug’ => $bp->settings->slug . ‘/accountdetails’));
}
add_action(‘bp_setup_nav’, ‘change_default_settings_tab’, 5);
Viewing 2 posts - 1 through 2 (of 2 total)