So user_register is when the post data for user registration is submitted. Can you try this
if ( isset( $_POST['first_name'] ) ) {
$first_name = $_POST['first_name'];
}
Ditto for last_name.
I looked up the codex for the user_register hook, check the example.
Related Posts:
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- User registration is currently not allowed
- Easily adding multiple existing users to a multisite site
- Activation of new Registered site fails on multisite
- How can I un-reserve a pending username registration?
- How do I remove/delete an old super admin user?
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Is there any central control/access panel for several WordPress sites?
- Allowing periods in usernames
- Remove Site Name from register form – Multisite
- Delete sites in wordpress multisite (not suspend)
- How to synchronize user profile fields in multisite?
- Prevent user creating new users with specific roles
- User registration on subsite in multisite configuration
- Lock one of WP Network sites for not registered users
- Can’t add user to blog on registration (Multisite)
- Is there a wordpress function to cleanly delete an entry in the signups table?
- Can you have multi-site WP and keep users separate?
- WordPress 3.2(Multisite) – How to add custom user meta fields to signup form?
- How to add multiple existing users to a multisite site?
- Multisite Independent User Base
- Can wp-cli display all users and their roles across all sites in a multisite instance?
- How do I use different domain for subdomains in WP Multisite?
- Deleting a user in multisite
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- User registration on sub site
- Disable domain redirect
- How do I list multisite users for the current site only
- Assign role to user on first login, if they are first (after admin)
- Displaying a message upon user registration
- What sites are you registered to when joining a multisite?
- How to change user starting role in WordPress MultiSite?
- What is meant by Multisite in WordPress?
- Add a user to a specific blog when they register?
- Auto creation of multisite blog on user registration
- Multisite – user email activation links broken
- Four columns in the wp_users table
- Multisite User Sync Question about blog authorship
- Preferred method of setting user role only works on Main Site in Network
- WP MU Register User across all blogs
- Is the Multi site functionality a viable option for Country and Language targeting?
- Register existing user on another site in a multisite network?
- Subsite access without being a member of the subsite in wp multisite network
- Using the standard WordPress “New User” interface on a multisite
- single sign on for wordpress multi site
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- Multi-Site Subfolder User Permission Issue
- I want to create a 300 multi-site wordpress network using subdomains
- Network of multisites in WordPress, create new site with all the contents of the main
- User registration on two sites in same multisite
- Cannot select signup_meta upon multisite user activation
- How to change a user role after registering in multisite?
- how to create wordpress network with multiple wordpress installations
- How to fix that new users show up again in subsite of a Multisite?
- WordPress multisite, allow non super admins to create sites
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- How to clone homepage for multi region site?
- Automatically add a registered user on the wordpress multisite network even to just one other site
- User registration on wordpress multisite
- Allowing users to manually add or remove themselves to/from WordPress multisite blogs
- Automatic registration on main site upon user registration on Multisite
- WordPress API – sign-up to multiple Multisites from one single form
- Register a user only to the root blog – WP Multisite
- Activate User account for Sub Site broken
- Possible to have duplicate usernames on different two multisites
- How to allow mixed case characters in multisite site name?
- Modify new user email notification in network admin screen wp multisite
- Users getting linked unwanted to main mu in WordPress multisite (WPMU)
- Can’t activate a user on multisite install
- WordPress Multisite Network Subdomain
- Multisite: How to bypass wpmu_signup_user_notification and add my own notification logic?
- Allow users to register on multisite through WooCommerce using the same email address
- A different role for each site in a multisite
- How to automate adduser (on linux) when add new user site in multisite
- How to force WP to create a users table in multisite configuration?
- User registration problem on multisites web
- Multisite “Skip Confirmation Email” Log Out Problem
- Multisite – User creation for second site from first site?
- How to Create WPMu New User?
- Possible to set new user’s site time zone at user creation using Gravity Forms?
- multisite registration: check existing subdomains while typing
- How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite
- Registration Page
- Using a number for limiting registering or banning on multisite
- Best way to convert two single WordPress sites into Multisite network with shared user base
- How to use same email for multiple users? [duplicate]
- Advice on WP site structure using multisite
- Trying to create site-wide Active Directory sync with Multisite
- How to disable Multisite sign-up page?
- How to remove Broken Link Checker widget from admin menu
- How to Move Local Singlesite Database to Remote Multsite Database?
- WordPress Multisite domain mapping with different IPs
- Multisite – Lost Password Link is for wrong site
- Change Administrator to Super Administrator (multi-site)
- Automatically login user across multisite
- Update blog option during create new blog?
- Multisite default theme and child applied to network
- Restrict users of site 1 to login in site 2 in wordpress multisite
- Unable to execute Ajax request, status code 400