0
我想在WordPress中有两种注册形式。默认情况下,让我们说访问者用户和一个自定义的更多特权用户。我如何制作这个定制的?我特别需要具有角色的部分,自定义注册表将为将注册到该用户的用户担任另一角色。我怎样才能做到这一点?我想,我需要这样的东西(它只是一个fabulation,不知道从WordPress的真正功能)我可以创建一个自定义WordPress注册表吗?
例子:
//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)}
我可以做这样的事情?
任何免费选项?无论如何感谢:) – user3776900
@ user3776900你可以使用上面的解释来创建你自己的表单,它会花费更多的精力。 – michaelrmcneill