# elementor/4.0.3/app/modules/onboarding/validation/user-choices-validator.php

Elementor Website Builder – more than just a page builder, version 4.0.3. 38 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.0.3/code/app/modules/onboarding/validation/user-choices-validator.php
- Raw: https://pluginprobe.com/plugins/elementor/4.0.3/raw/app/modules/onboarding/validation/user-choices-validator.php
- Modified: 2026-03-30T09:49:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/4.0.3/code/app/modules/onboarding/validation/user-choices-validator.php#L10-L20`.

```php
<?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',
			],
		];
	}
}

```
