Action hook 'edit_user_created_user'

in WP Core File wp-admin/includes/user.php at line 247

Description

Fires after a new user has been created.

Occurrences

Filename Line Number
wp-admin/includes/user.php 247

Parameters

Type Name Description
int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
string $notify Type of notification that should happen. See wp_send_new_user_notifications() for more information.

PHP Doc

/**
		 * Fires after a new user has been created.
		 *
		 * @since 4.4.0
		 *
		 * @param int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
		 * @param string       $notify  Type of notification that should happen. See
		 *                              wp_send_new_user_notifications() for more information.
		 */