wphooks.info - edit_user_created_user

edit_user_created_user

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/user.php:
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
		/**
		  * Fires after a new user has been created.
		  *
		  * @since 4.4.0
		  *
		  * @param int    $user_id ID of the newly created user.
		  * @param string $notify  Type of notification that should happen. See wp_send_new_user_notifications()
		  *                        for more information on possible values.
		  */
		do_action( 'edit_user_created_user', $user_id, $notify );
	}
	return $user_id;
}

/**
 * Fetch a filtered list of user roles that the current user is
 * allowed to edit.
 *
 * Simple function who's main purpose is to allow filtering of the