fyi just found this, seems to work.
https://buddypress.org/support/topic/removing-nav-subnav-item-in-profile-page/
is it the add hook that is messing up the other one?
I can’t find bp_activity_setup_nav
in the current codebase. Hooking to bp_init
instead should work.
bp_core_remove_nav_item()
will delete an item from the primary navigation of the specified component.
bp_core_remove_subnav_item()
will delete an item from the secondary navigation of the specified component.
Hope this helps.
Thanks Henry it was the $hook that was incorrect in the previous docs. I was wondering if i could ask you to take a look at another question i posted about notifications? I’m not sure if you’ll have an answer but i’ve not managed to get anywhere on it.
how do i get mentions recognized for notifications here?
argggg… my post seems to be not displaying