$user_id = apply_filters( 'wpas_register_account_errors', $user_id, $args['first_name'], $args['last_name'], $args['user_email'] );
This filter can be used to perform custom checks on the data being sent to WordPress during the account creation process. Return an WP_ERROR object to prevent the account from being created!
Version 3.2.0