register_new_user action-hook . WP 4.4.0
Fires after a new user registration has been recorded.
Usage
add_action( 'register_new_user', 'action_function_name_1732' ); function action_function_name_1732( $user_id ){ // action... }
- $user_id(int)
- ID of the newly registered user.
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
wp-includes/user.php 2797
do_action( 'register_new_user', $user_id );
Where in WP core the hook is used WordPress
wp-includes/user.php 459
add_action( 'register_new_user', 'wp_send_new_user_notifications' );