edit_user_created_user action-hook . WP 4.4.0
Fires after a new user has been created.
Usage
add_action( 'edit_user_created_user', 'action_function_name_2615', 10, 2 ); function action_function_name_2615( $user_id, $notify ){ // action... }
- $user_id(int)
- ID of the newly created user.
- $notify(string)
- Type of notification that should happen. See wp_send_new_user_notifications() for more information on possible values.
Where the hook is called
wp-admin/includes/user.php 211
do_action( 'edit_user_created_user', $user_id, $notify );
Where the hook is used (in WP core)
wp-includes/default-filters.php 429
add_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );