Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Deleting a certain part of the navigation


3125432
Inactive

Hi –

I wanted to do something similar – remove ‘Edit Profile’ from the MY PROFILE nav section.

I tried using this code in bp-custom.php:

function remove_navitems()

{

bp_core_remove_nav_item(‘profile_edit’);

}

add_action(‘bp_core_setup_nav’, ‘remove_navitems’);

That didn’t work.

As you can see, I was just totally guessing as to the exact name of the nav item. I have no idea where to find it, or what file to examine to find the correct nav item to reference. Any help or suggestion would be greatly appreciated.

Thanks,

Brian

Skip to toolbar