I am trying to find the location of the file that controls the Buddypress page bar at the top of the website I built. When I go into the Groups section and then click on a group, a page called ‘membership’ is added to the top bar, pushing my search bar out of position. I would like to remove this new page, as I do not need it, and when you click on it, it doesn’t go anywhere useful anyway.
I found the location of the menu in my ‘top-bar.php’ >> bp_get_loggedin_user_nav() function. I just don’t know how to edit this function in order to remove the appropriate page.