Hi,
you can add this code in your functions.php theme file, changing ‘Premium’ to your group’s name.
https://github.com/eggemplo/Users-auto-Group/blob/master/function.php
Kind Regards,
Antonio B.
Thanks that will do the job !
Hello,i am looking to asign a user to a specific group based in his registration process. I would like during the registration to have a checkbox or a dropdown menu (GROUP1, GROUP2) where the user can choose to which group he wants to be added.
My registration process is managed by buddyPress.
When i copy paste you code in functions.php, nothing changes in my registration form.
can you help me out please ?
Thank you in advance!
Yaros