wpmu_new_user action-hook . WP 3.0.0
Fires immediately after a new user is created.
Usage
add_action( 'wpmu_new_user', 'action_function_name_8618' ); function action_function_name_8618( $user_id ){ // action... }
- $user_id(int)
- User ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wpmu_new_user
wp-includes/ms-functions.php 1331
do_action( 'wpmu_new_user', $user_id );
Where in WP core the hook is used WordPress
wp-includes/ms-functions.php 26
add_action( 'wpmu_new_user', 'newuser_notify_siteadmin' );
wp-includes/ms-functions.php 88
add_action( $action, 'wp_maybe_update_network_user_counts', 10, 0 );