How to register new user using URL parameters?
-
Hello all,
I’m new to wordpress development, and I need to rebuild a website with wordpress. No problem building standard pages (using Elementor).
But the current site (developed in plain PHP) has a special page that allows a user to register himself to the website getting some data from an external URL getting two URL parameters (email and role), and asking for a password. This page also check for an existing user (checking user email) and allow to effectively register the password if his email doesn’t exist.
How can I create a new user in wordpress using these two URL parameter?
I would like to create a similar mechanism in wordpress using 3 form fields:
– email (hidden field that gets populated from URL parameter; base64 encoded)
– role (hidden field that gets populated from URL parameter; base64 encoded)
– password: field that allow the user to set his password (or get a wordpress generated/suggested one)How can I do this in wordpress?
Can someone point me in the right direction?
Thanks in advance.
Tony
- The topic ‘How to register new user using URL parameters?’ is closed to new replies.