Hide specific user profile tabs
I would like to restrict the visibility of the following tabs to only be visible to the logged in member:
Activity – Favorites
Activity – Friends
Favorites – Groups
Forums – Favorites
To me it doesn’t really make sense that I can see the activity of other members friends, their favorites and the activity of groups that I have not yet joined.
I read here https://codex.buddypress.org/themes/bp-custom-php/ that I can create a bp-custom.php file which I did. Now I only need the code to hide those fields form everyone except the member him/herself.
Thank you very much!
- You must be logged in to reply to this topic.