Hello i want to assign a custom user role in WordPress based on registration form for example i have teacher and student on registration form i have to put two check boxes so that if user select student he will be automatically assigned role of student instead of default one.so, how to do that? anyone with an idea can help please!


Read more here: WordPress: How to assign a custom role to new user in wordpress from registration form


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: