I am using WPUF PRO. I know there is a setting to define the user role on a registration form, but there is no option to define the user role on a post form, (with guest post and auto user registration).
But I want to define the user role without using a value from a custom field. I want to define the user role based on the post type being created (or based on the form ID being used, because I have one form for each post type)
They way your are trying is not correct. Only email or name can not register a user. To register an user, there is some must have some required fields. To get a idea about what parameters to pass, open up class/frontend-form-profile.php and go to line number 222. You will get idea about what to write.
Thank you 🙂
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Guest Post Auto user registration Roles’ is closed to new replies.