[Resolved] Add role to user depending on value in profile field on registration
i would like to add a user role to a new user during registration, depending on a fields value in the registration form.
example: on my registration form a user can choose between two values via radio buttons. If he choses value A, role A should be added to this user. If he choses B, role B should be added to the user.
How could i do that? I read this: http://octalforty.com/articles/assigning-role-on-wordpress-registration-profile-page/ but it aims at the wordpress registration form and does not use buddypress extended profile fields.
Thanks for any help
- The topic ‘[Resolved] Add role to user depending on value in profile field on registration’ is closed to new replies.