Wow, clickallco, thanks for the quick help!
This code removes the “members” tab and access to the /groups/GROUPNAME/members/ page.
But in my theme (buddyboss) when you click on the group it redirects to this page /groups/GROUPNAME/members/all-members/
And that page is still available.
Can I do anything about it?
Could you please help to restrict access to the group members list?
So only admin would be able to see these pages. Because we don’t want our users to know how many users are within each group on the website.
For that we need to restrict all similar pages:
@prettyboyelias active 1 month, 1 week ago