wphooks.info - edit_user_created_user

edit_user_created_user

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-admin/includes/user.php:
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
		/**
		 * 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