user_register

user_register

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.4

do_action('user_register') is found 1 times:

  • /wp-includes/user.php line 2508
    		 *
    		 * @param int   $user_id  User ID.
    		 * @param array $userdata The raw array of data passed to wp_insert_user().
    		 */
    		do_action( 'user_register', $user_id, $userdata );
    	}
    
    	return $user_id;
    }
    
    /**
    

See this hook used in plugins: