I am using BuddyBoss and on registering the user selects a profile type and this assigns a WP user role dependant on the profile type selected.
I want to be able to add another user role to the role they are assigned with. How can I do this?
I found in the User Role settings > Default roles > additional user role for registered user: and added the user role, but it does not appear to work, new registered users only get the user role assigned by Buddyboss.
I also tried writing a php function for it but no luck 🙁