Hide tabs in other profiles
-
Thanks for your help creating this plugin, I just noticed that the tab is also visible while viewing other people and profiles.
How can I stop this, I want it to show on my profile alone and not while viewing my friends profile. I mean, i want every user to see this tab on their profile and no in other profiles. Because in this tabs i added information only for the user, and when they go to other peoples profiles, they can see this tab and there is their information. How i can hide the tab in other peoples profile but i want every user to see this tabs in their own profile only
I was trying to create some code : ‘user_has_access’ => ( bp_is_my_profile() || is_super_admin() ),
but i dont know how to finish or where to put this
thanks
Best regards
- The topic ‘Hide tabs in other profiles’ is closed to new replies.