Reply To: [Resolved] Disable “leave group” and “request membership” buttons
I think this is just what I need too – but will it work for public groups, though in a members only site?
I’ve set BP so that only admins can create new groups, I only have 3 groups, and have added the code to automatically join all new members to all groups (which seems to be working well) – found here: https://buddypress.org/support/topic/how-to-add-new-members-to-groups-automatically/
By the way @danbp or @whoaloic can you confirm that I would copy the file bp-groups-template.php and put it in my child theme\buddypress\bp-groups\bp-groups-template.php and then edit line 2747?
Many thanks.