Reply To: remove profile tab – correct code?
Thanks for the links @danbp.
From the 2nd link, I think it’s suggesting that I can add the ‘false’ statement in instead???
So what’s the best policy for now – leave the code as I’ve got it now (as posted above)? or try to reformulate it with the add_filter ‘false’ statement, referencing the code they mention: (‘bp_get_group_create_nav_item’, ‘__return_false’ );
And if the latter, how exactly should it be written?
Cheers.