As explained in developer documentation of wpmu_activate_user
hook, it fires immediately after a new user is activated. That means it happens after a user activates their account.
The same is happening for user_register
. It is firing when a new user added to the database. It is not happening until a user activates the account. Check this documentation about user_register
hook.
In your case, the after_signup_user
hook could be helpful.
Related Posts:
- Send user activation email when programmatically creating user
- Email verification for new users
- Custom user profile, registration, login page with theme
- Why is the reset password key missing in the reset password email?
- Get the password key when using the wp_new_user_notification_email filter
- How to get the ID of the currently logged in user?
- Two functions utilizing registration_errors filter
- How do I add a prefix when a user registers
- How to add custom fields to the all users page
- SMS registration and login [closed]
- Including the necessary functions for a custom ajax registration form
- Activate User in Code (BuddyPress+bbpress)
- Email verification for new users
- How do I have now a duplicated user entry if this is not allowed (and I cannot replicate it)?
- Associate multiple email addresses with the same user account, so they can log in with either
- How to make and save custom form in custom plugin page?
- Redirect User to custom URL after registering
- Allowing duplicating users with same user_login and user_email
- Using custom IDP with WP
- Problem in plugin debuging in wordpress
- Custom Registration Form and Passwords
- User Registration Moderate
- Registration form Plugin… Email confirmation
- first_name property missing inside register_user action hook
- Email verification feature in wordpress social login plugin
- Create Unique and Customized User ID for Website Members in WordPress
- How do I modify the error code array used by “shake_error_codes” filter?
- Making a user platform reachable by a qr code on a pin-back-button [closed]
- Add self-closing shortcode button to TinyMCE in WP 4.6
- WordPress and PHP Sessions – Security and Performance
- WordPress Hook for user register
- Must-use plugins autoloader: How to use get_plugins() correctly?
- Changing upload directory for plugin uploads only
- Upload file to remote storage
- How do I conditionally enqueue script for CPT single post type with plugin?
- wp_localize_script $handle
- Help adding image upload functionality to widget
- Rewrite url for existing page without flush_rewrite_rules
- Front-End Interfaces Without Shortcodes
- Is there a way to loop through a shortcode datasource to create a table?
- Execute plugin for specific user role(s) only
- How plugins_loaded works?
- Enqueue scripts in footer
- Is It Always a Best Practice to Decouple the Frontend from the Admin Area When Developing a WordPress Application?
- the_editor() function
- Why doesn’t my simple the_title filter get applied?
- WordPress clean internationalization for menus?
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Send push when new post is published in a certain category
- How can we display product price $104 on the cart while the credit card payment method is checked?
- Storing data in wordpress database from ajax call from different website
- Prevent invalid or empty values from being saved to the database and retain the form field values upon error
- Translation per IP location [closed]
- Hide shortcodes “code” when using the “editor” the same as wordpress do with “gallery”
- wp E-commerce featured product plugin with muliple option?
- How to test a WordPress plugin in real time
- How to Trigger WP CRON at Local Timestamp?
- Problem with saving checkbox values with WordPress Widget API
- Force download file from plugin (change output http headers)
- Distributing Frontend Assets with Plugins
- How to get all product in the woo-commerce? [closed]
- Check user’s role and store in variable
- What’s the hook for filtering every texts of site?
- Hook add_attachment error
- Undefined variable’s error when expected to have passed the content of variable [closed]
- How can I add rewrite rules to a class-based plugin?
- hook update_option/updated_option empty $old_value and $value
- Issues Updating Post Meta with AJAX (Seems simple but cannot figure it out)
- How to add a panel/box/widget/are/screen to the right side of edit post/page confusion
- Service Worker Uncaught (in promise) DOMException
- Sharing Variables between scheduled events
- Issue with plugin sub menu and pages
- How can I programmatically change a MySql variable (foreign_keys_check)?
- Problem with display data from get_option
- Screenshots on plugin page taken old [closed]
- Get Posts by IDs (optionally)
- How do I duplicate a single post, with all its properties, and save it as a different post?
- Why doesn’t my Table get created?
- Extract Information from post content (using regex?)
- Using jQuery prepend() with file include
- want to show CMB2 metabox on woocommerce product data tab
- Customise Grouped Product display in Woocommerce with custom column
- Add parameters to 3rd party callback function
- Ajax action has 200 status but response of No response data available for this request
- Google Web Core Vitals – management, how to in wordpress and advice
- How can I pass WP_Query results to a plugin?
- Hiding the WordPress login and password fields from login page
- Adding customs fields on each product on the cart
- WordPress how do I echo SUM from a column of a MySQL table by user id AND type_operation
- Buddypress: adding a new tab direct user to their author page
- Why would one specify multiple arguments when using get_previous_posts_link() which takes only one parameter?
- WC_Geolocation not found inside plugin
- Set widget icon in Customizer?
- I have a plugin where in I have to change the title of the page dynamically by sending parameter to the_title filter
- How can I map a specific URL pattern to a plugin for processing
- What happens when you create/edit a menu
- Updating Style From WP Options Setting Page
- Change the class of wordpress menu
- How to change url’s in WordPress when changing domain [duplicate]
- Is wordpress plugin development active? [closed]