wphooks.info - network_site_users_created_user

network_site_users_created_user

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/network/site-users.php:
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
						$update = 'err_add_fail';
					} else {
						$update = 'newuser';
						/**
						 * Fires after a user has been created via the network site-users.php page.
						 *
						 * @since 4.4.0
						 *
						 * @param int $user_id ID of the newly created user.
						 */
						do_action( 'network_site_users_created_user', $user_id );
					}
				}
			}
			break;

		case 'adduser':
			check_admin_referer( 'add-user', '_wpnonce_add-user' );
			if ( ! empty( $_POST['newuser'] ) ) {
				$update  = 'adduser';