I work with some registration panel, and when the user checked radio button "Customer" i want to change his role from "Pending Vendor" to "Customer". How user roles can be changed depending on what is checked?
Fields that i want to target are BuddyPress Xprofile fields, i don't know if that is important, just to mention