Hiding profile tabs (i.e. messages) based on user role
-
Hi guys!
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hiding profile tabs (i.e. messages) based on user role’ is closed to new replies.