• File: user-choices-validator.php
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/elementor/app/modules/onboarding/validation/user-choices-validator.php
  • Date Modified: 03/30/2026 1:49 PM
  • File size: 581 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Elementor\App\Modules\Onboarding\Validation;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class User_Choices_Validator extends Base_Validator {

	protected function get_rules(): array {
		return [
			'building_for' => [
				'type' => 'string',
				'nullable' => true,
			],

			'site_about' => [
				'type' => 'string_array',
			],

			'experience_level' => [
				'type' => 'string',
				'nullable' => true,
			],

			'theme_selection' => [
				'type' => 'string',
				'nullable' => true,
			],

			'site_features' => [
				'type' => 'string_array',
			],
		];
	}
}