Re: Deleting a certain part of the navigation
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