wphooks.info - network_site_users_created_user

network_site_users_created_user

The hook occurs in the following file:

wp-admin/network/site-users.php:
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
				} else {
					add_user_to_blog( $id, $user_id, $_POST['new_role'] );
					$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';
				$newuser = $_POST['newuser'];