Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing specific BuddyPress tabs


  • seanbees
    Participant

    @seanbees

    I currently used this method first, which wasn’t working for me:

    $bp->bp_nav['settings'] = false;

    Then I used this snippet instead, which happened to work, but unfortunately removed the nav items from my main menu as well instead of just the BuddyPress profile fields:

    function my_remove_em_nav() {
    	global $bp;
          bp_core_remove_nav_item( 'settings' );
    }
    add_action( 'bp_init', 'my_remove_em_nav' );

    Any idea on how to make it so it only removes the items from the profile fields rather than all the nav menus in general?

Viewing 1 replies (of 1 total)

  • seanbees
    Participant

    @seanbees

    Tried editing the topic category, would not let me. Should be in “How-to” instead of “Installing BuddyPress”.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar