You can create usermeta at time of insert user
like, i create zip code in my site see this code,
$user_id = wp_insert_user(
array(
'user_login' => $user_email,
'user_pass' => wp_generate_password ( 12, false ),
'first_name' => 'khushu',
'last_name' => 'soni',
'user_email' => $user_email,
'display_name' => 'khushu' . ' ' . 'soni',
'nickname' => 'khushu' . ' ' . 'soni',
'role' => 'Subscriber'
)
);
update_user_meta( $user_id, 'zip_code', '56789' );
Related Posts:
- Disable user registration password email
- How do I customise the new user welcome email
- User Without Email?
- Allow Duplicate Email Address for Different Users
- Email confirmation on registration
- Email as Username in registration
- Handle registrations in WordPress when user doesn’t have any email?
- Email notification after registration in WordPress
- wordpress do not let user registered with info@ email and other reserved emails to get registered by users
- How do I make WordPress send an email to the user when his account gets approved (manual by me)
- User registration email and let user choose pasword
- Script or plugin to send activation email automatically again after 2 hours
- how to email username and password to admin of new registration
- WordPress Won’t Send Email When a User Register
- Programming WordPress to Send an Email on Registration Form Submit?
- How do I troubleshoot registration/password email errors?
- Auto Log In Users after registration and send confirmation email
- Send email for confirmation during user registration
- User Without Email?
- I need to verify emails when users signup
- Check if “Send the new user an email about their account” is ticked
- WP Mail isn’t sending user account messages, does send from plugins
- User Registration – no Email required
- Get emails of register user in WordPress
- Duplicate notifications for new user registration
- Allowing Loading/Downloading of .mp3
- Create WP account from an external email form submission?
- Allow users to register as a higher role than default with code
- Is there a way to embed an iframe in an email with text that updates?
- Sending multipart (text/html) emails via wp_mail() will likely get your domain banned
- “Reply-to Address” Email
- Custom admin email for new user registration
- Disable new user notification to admin email
- How to disable automated E-Mail on PHP error/exception?
- Email stats at Ma.tt contact form
- wp_mail recipient array not sending?
- Transferring contact form input to an email account without using an email-proxy
- Best way to create a user programatically
- Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]
- Disable WP notifications for commenting on own posts
- Must I change the admin user email address while changing the general email address?
- Batch Emails with wp_mail()
- Obfuscating Email Addresses in Form Fields
- Email ‘from address’ has a www in it
- Is there no way to send email using SMTP without plugin or custom coding?
- How to pass external variables to the wp_new_user_notification_email filter?
- Send email daily from WordPress site
- Mechanism to send to users of secured WordPress install new notifications by SMS or email?
- How to change the Customer new account email
- Is it possible to change an existing post status from ‘pending’ to ‘publish’ via email?
- WordPress Registration Email by Role
- WP mail sent to MS Exchange recipients = occasional email corruption?
- How to set custom from email address in wp
- How to translate WordPress Emails?
- Stop the execution of foreach loop which extract data from array?
- How to receive an email with WordPress?
- What is the best way to send out thousands of emails from a WordPress site? [closed]
- Generate Email if No Posts Within Time Period
- Interrupted cron script sending me hourly emails. Please help!
- Content of post does not end up in “ShareThis” mail
- How to differentiate between email subscription list and blog subscription list?
- What emails does wordpress send?
- Requiring wp-login.php sends headers automatically
- How to stop WordPress from sending mails?
- Changed my email. Locked out
- Send confirmation email when a user’s role is upgraded
- WordPress site member verification emails going to spam on Outlook
- Block to accept and send email to specific domains
- I want to setup a button/popup/whatever that will prompt users on the site to input their email address
- Sending a password reset link
- WordPress new user email formatting issues
- email saying that was not possible to send the email
- WordPress emails are not delivered if the recipient email address has a non-traditional domain extension
- could not call wp_email function twice
- Changing the Default New User Notification Email
- Updated : how to make email optional while user registration using default wordpress form
- Is it possible to use different from email in contact form 7 with different domain?
- Email post to submitter
- How can I remove the product short description from the WooCommerce Mails?
- Email verification at a later date?
- Custom user registration fields in user_register hook
- How to integerate WordPress Mail SMTP plugin to Report and Request custom page
- Contact Form 7 How to Alter the From email address?
- Emails sent from local wp webserver are beeing rejected from Siren?
- email explanation for newbies
- WordPress stops executing code after the require() method
- Email Piping using google apps within WP Engine
- Download Free Trial After Email Entered
- Username from e-mail
- Email notification
- Custom notification for contributors when posts are scheduled
- User profile update author
- Contact Form 7 – E-mail message template [closed]
- What is the correct way to send multipart email in wordpress?
- how can i inform other users about new user registration? [closed]
- WordPress isn’t sending welcome email with the password reset
- Where does email sent to *@example.com go? [closed]
- How to send emails and avoid them being classified as spam?
- How to change the WordPress email icon?
- What’s the optimum way to collect users’ email id?