I want to have in WordPress two kind of registration forms. The default one for let’s say visitors users and a custom one for some more privileged users. How can I make the custom one? I especially need the part with the roles, the custom reg form will have another role for the users that will register to it. How can I do that? I think I need something like(it’s just a fabulation, don’t know the real functions from WordPress)

Example:

//the following variables will be a part of the form that will stand above this function
 add_user('$username','$mail','$location','$region','$role');
//where $role can be {1(subscribers),2(contrib.),3(authors),4(editor),5(admin)}

Can I do something like that?

Read more here: WordPress concern about users


Solution:

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

Related Wordpress search:

, ,

Wordpress related questions and answers: