Look like you need used hook user_register
it’s return to you user id, after that you can save it in DB.
Related Posts:
- Adding fields to the “Add New User” screen in the dashboard
- Return all users with a specific meta key
- How to display custom user meta from registration in backend?
- get_users is expecting unserialized meta_value
- very last action before during user registration before he is redirected to homepage
- ACF Upload Image in front-end with custom form
- Upload files programmatically to users
- How to get the user description with get_users?
- get current user not working
- Is a user_meta research case-sensitive or not
- Store user’s registration date as meta
- Average Account Age
- Can I prevent “wp_user_level” from getting added to wp_usermeta on registration?
- add custom field in user register form
- Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
- How can I attach a user to another user with user meta
- Creating user without username and password
- Randomize Users
- How get meta from all users?
- Assign random (and unique) user meta upon registration
- Associate multiple email addresses with the same user account, so they can log in with either
- Using WP for user management
- get random users each time based on the meta key
- Can I add a unique code for each user based on the location?
- Adding user metadata to all users
- Safely changing UserID’s, re-using deleted UserID’s and automatically using deleted userID’s instead of an increment
- How can I track who clicked what in my member area?
- Get user meta on registration hook
- Saving an array of values (file urls) to update_user_meta()?
- How to get user meta value in wordpress
- UPDATED: Save a custom_field value when automatically creating a post using wp_insert_post
- Reordering fields in registration form via custom plugin
- Let admin users edit member profiles from front end
- Create Unique and Customized User ID for Website Members in WordPress
- Add custom input field in new user page
- MySQL query to list users who never signed in
- How to allow an user role to create a new user under a role which lower than his level only?
- How to filter users on admin users page by custom meta field?
- how to disable user confirmation from administration?
- How to get users by a custom field / by user meta data?
- How to order users alphabetically by their last name?
- Wp_User_Query not sorting by meta key
- Prevent user creating new users with specific roles
- Post-Registration, post-meta hook?
- Show User Their Password
- How to use the WP REST API for new user registration (sign up form)?
- generate unique number when registering a user
- User defined password at registration – registration email sends auto generated pass
- How can I sort get_users() by any value (last_name, user defined fields and more)
- Extend the wp_users table
- Drop down list in user profile page
- Allow role to edit users at lower level with only specific metadata
- Create not-activated user in code, wordpress
- Update user meta through a front end form
- Uncheck the box “Send User Notification” by default on new-user.php
- Add user data to table when user is created?
- Restricted registrations or removing the ability to edit your password/email
- Use wp_update_user to update custom column in wp_users table
- Send mail to user only once when specific check box is selected and updated from profile meta updated by admin
- Display users in order by an “order” custom meta field
- Rest API code to get ID of current user not working: get_current_user_id() gives 0
- wp_set_auth_cookie causes 403 error in the wooCommerce checkout
- Four columns in the wp_users table
- Why get_users() not working on the admin backend?
- Can I set user meta for theoretical user 0?
- Change label for registration Fields
- I want to update my user meta table
- How to Access wp_usermeta Data Immediately After a New User is Created
- Subscribers Group User meta delete
- How to pull all the contributer users records and order by Designation (which is users meta data)?
- Fetch user related data
- cannot get user_registered date from get_user_meta
- Order By Meta_key but convert custom date to Y-m-d first
- Combining wp_list_authors with get_user_meta
- How to add fields in custom registration form, validate it and aave to db? [closed]
- Customising “user ids” and add to ‘user’ panel in the admin area
- Storing user submitted forms [closed]
- how do I add role and capability after I create a new user
- How to relate the Category to user?
- Remove user id’s stored in arrays that themselves are stored in user meta of another user
- Edit text of WordPress “Register” button
- Linking form to user meta fields
- Create WordPress User in backend, and automatically create a new post in Custom Post Type with user uame as the Title in the post
- How to get image path from id using SQL
- get_user_meta value is stored within strange characters
- Update user role for expired membership
- wp_redirect not working after update_user_meta
- profile_update works on second update only
- Move Non-WordPress users table to WordPress database
- How to remove the url format from the WEBSITE field in the user registry?
- Store data from JavaScript object to custom table in user account
- Hook into add_user_role and update based on new and removed roles
- How to change the value of a variable using input field?
- Auto approve new users if their username is included in a predefined list
- meta_query orderby sort multiple keys
- update multiple user meta field based on another meta field
- Changing starting number of User ID
- CRM and newsletter integration? [closed]
- how can i inform other users about new user registration? [closed]
- Export user data from Squirrly’s Starbox plugin?