Hiding profile tabs (i.e. messages) based on user role
I am trying to hide certain profile tabs (i.e. “Messages” or “Friends”) based on specific user roles.
I have created 2 custom user roles (examples): “Pet Owner” and “Pet Groomer”
Both user roles are supposed to NOT be able to see/click the Tabs “Messages” and “Friends”.
What do I have to type into the bp-custom.php? I have tried a few things but they destroyed my site… so I better don’t post my tries 😉
And where do I find my custom user role slugs after creating them?
Thanks so much!
- You must be logged in to reply to this topic.