adding new meta key values in update_user_meta
-
Hi Ali,
I am using this plugin for user registration, and it is working fine. Now i wanted to add few custom meta keys. I have tried it using update_user_meta function.
Following is the flow i am using update_user_meta is:
1. Generating nonce
2. Registering user with basic parameters i.e username, first_name, email, display_name, user_url, user_pass and nonce.But in registration i need to send few more parameters like phone_number, user_address, user_website. For that i am using update_user_meta.
3. Getting cookie from step 2, adding cookie to update_user_meta with meta_key and meta_value.
In the response of step 3, i am getting response ‘provide username’. When i provide it, getting response ‘provide email’. When i provide both then getting ‘provide nonce’. When i provide all these then i am getting response ‘User already exist’.
Can you suggest the solution on it. Kindly clarify me if my flow is incorrect.
Thanks,
SamKat
- The topic ‘adding new meta key values in update_user_meta’ is closed to new replies.