You can use user_register
add_action('user_register', 'wpse42506_user_register', 10, 3);
function wpse42506_user_register( $user_ID ) {
// do stuff here
}
If you want to just use the user information, you can use get_userdata
http://codex.wordpress.org/Function_Reference/get_userdata
If you need more control, you can initiate a new WP_User
http://codex.wordpress.org/Class_Reference/WP_User
Related Posts:
- How to hook into user registration process Before user registers
- Updating user meta data from external link, user not logged in
- How can I do customizations on login, registration and password recovery forms?
- update post meta using user_register hook not working
- How to modify an add_action() inside a loop of core function
- How to increase password requirements for registration [closed]
- Can user_register output the password?
- Detect change to user_meta and retrieve old and new values
- How to hook in after user’s registration email has been sent?
- Update a costume wp_usermeta key back to 0 every 24hours (time can be specified as needed)
- Save User Meta Email Address in Lowercase
- register_activation_hook not updating
- Add default user field to WooCommerce checkout [closed]
- Custom Front End Registration – How Does the Key work in the Password Set Request?
- How to change the default mail when admin approuved an user?
- Lock user information once fields have been filled in
- How to get user meta fields that have just been updated?
- Associate multiple email addresses with the same user account, so they can log in with either
- hooks for automatic approve user registration according to data in custom fields
- What hooks do I need to hook into to capture ever wp_user creation/change?
- Delay action unltil the untill previous (hoocked) action is completed
- ‘user_register’ hook – need to distinguish if created from wp admin panel
- add_action doesn’t work for my function
- wp_get_current_user Not working
- Which hook should I use for this scenario regarding the registration process and account/profile update?
- Problem in register activation hook and Copying folder
- Does wp_login hook fire on user registration?
- WooCommerce: change display order of product short description and price [closed]
- Use wp init hook to call other hooks?
- Is there a WordPress core & plugins update action hook?
- trigger save_post event programmatically
- is it possible to get the hook name in add_action?
- What hook is executed just after wp_query has been executed?
- WordPress v5.0.3 Gutenberg & JS error “Uncaught SyntaxError: missing ) after argument list”
- Can’t get ID of post that relates to the comment
- Creating a custom post type upon registration
- Searching hook to set cookies before and avoid “headers already sent”
- Hook before inserting user into database [duplicate]
- wp_redirect() not working on form submission with init hook
- WooCommerce – Overwrite action hook [closed]
- Admin Hook at the Login Page
- Which Hook? Hide attachments from specific post types in media library
- Custom action on login and “remember me”
- Average Account Age
- How to hook into Add New Member in BuddyPress
- Using wp_editor tinyMCE in metabox cause form alert on leaving page
- How to add custom fields to the all users page
- Hook when new CPT published AND postmeta inserted
- Need to check is_archive during init
- When WP_CLI runs WordPress from the command line, are hooks called?
- Query categories that have a description
- Trying to run a compile command while saving post
- WooCommerce single product page quantity description [closed]
- Action hook for custom tax edit
- wp cron job fires at every second or so, if callback is wrapped with DOING_CRON check it never fires at all
- I don’t understand how add_action and do_action work in tandem. The former executes the code already…what is do_action for?
- Insert HTML in post, below nav bar but above content?
- Convert Gravity Form Entry Date on Export
- Hook Adding content after title
- Fatal error: Call to a member function get_queried_object_id()
- “admin_enqueue_scripts” hook or $_GET[‘page’]?
- wp_logout hook never triggered
- add short description under price
- How to add content to suscriptor dashboard frontend?
- Add PHP code to header section from plugin
- How to change a WordPress term’s slug before saving
- dynamic add_action according to child pages (for homepage control)
- Remove action in a parent theme from the child theme
- Remove action within a class in a parent theme’s includes folder from the child theme
- Action hook save_post for newly created posts – $post object data is all empty
- add_filter to the_content from plugin function
- What hook should I use that will fire whenever I open a post for editing in the WP back-end?
- Can not using get_header() cause trouble (later on)?
- Is there a author_update action?
- How to set Media Box form elements default value?
- How to get product information using hooks?
- Print additional fields in wp_new_user_notification_email_admin
- Creating a custom post type upon registration for a specific user role
- remove_action not working for a function
- Is there no concise way, a library maybe, to help with unhooking class functions and so on?
- Adding user metadata to all users
- Debug a WP install: how to find which functions write post updates during a process (a woocommerce checkout in my case)
- What hook should I use to add post meta data with on update?
- Problem with call_user_func_array front end
- How to I prevent WordPress from switching external HTTP links to HTTPS?
- Stylesheet is getting removed/deregistered automatically
- How to override get_avatar() function?
- Change user role if it’s orders count more than
- Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
- Using actions, hooks and filters in a non-WordPress page
- Hook into create_category
- Trouble adding data to options table
- Let admin users edit member profiles from front end
- Hooking get_pages()
- How to hook into publish_posttype?
- Custom registration form and custom field
- $GLOBALS & global doesn’t work [closed]
- Hooks not working on live server
- Callback API for getting response from fygaro payment gateway
- Changing login url