By default, the ACF custom user fields are added to the default registration form which is awesome!
In my case, I have two user roles (Organization and Volunteer) and want to have custom fields for each role, I know with location rules I can do this on the add/edit user forms in the WordPress dashboard, no-problem.
However I am wanting to use the code found in the following link (https://wordpress.stackexchange.com/a/237267) to allow the default registration form to switch roles depending on the URL (example: /wp-login.php?action=register&role=organization)
Is there a way to tie in the specific role field group to the registration form depending on which role they are registering for?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users