how to add new members to groups automatically?
(w/p = 4.1; buddypress = 2.1.1; s2member = 150203)
I see it’s been asked before, but the suggestions I’ve found have only lead to out-of-date plugins, and I don’t want to base my new site on a plugin that may well be completely unsupported within a few months.
my aim: I’d like to ensure that all new members are signed up automatically to at least one group, if not to all 3 groups, so they can immediately be part of a small community.
Is there a way I can add some code into either a BP file or my (child) theme files to do this? I realise that I would have to be careful with updates, so perhaps a child theme functions.php file or similar? (I know the basics of code and how to insert in different files, but have very little knowledge of php, hooks etc so would need help with the exact code for this.)
All help much appreciated.
- You must be logged in to reply to this topic.