Hide Login information in Account settings in Buddy Boss


First time working with Buddy Boss.
I managed to customize the navigation items on the profile page, but I can’t find a solution for the Account settings page.

What I’m trying to achieve is to hide/remove the Login information tab and rename the Email preferences to Email notifications.

enter image description here

If this is doable than we have to redirect the users from the default Login information tab to Email notifications.

This is the code that I used for the Profile page nav reordering:

  function bbg_change_profile_tab_order() {
    global $bp;

    $bp->bp_nav['profile']['position'] = 10;
    $bp->bp_nav['photos']['position'] = 20;
  add_action( 'bp_setup_nav', 'bbg_change_profile_tab_order', 999 );

But I don’t know how to target the Account settings page.


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/hide-login-information-in-account-settings-in-buddy-boss/">

Hide Login information in Account settings in Buddy Boss</a>
, , , , Barna Tekse 2 months 0 Answers 49 views 0

Leave an answer