[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
app
/
modules
/
onboarding
/
storage
/
entities
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 user-choices.php
1,921 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: user-choices.php
<?php namespace Elementor\App\Modules\Onboarding\Storage\Entities; if ( ! defined( 'ABSPATH' ) ) { exit; } class User_Choices { private ?string $building_for = null; private array $site_about = []; private ?string $experience_level = null; private ?string $theme_selection = null; private array $site_features = []; public static function from_array( array $data ): self { $instance = new self(); $instance->building_for = $data['building_for'] ?? null; $instance->site_about = $data['site_about'] ?? []; $instance->experience_level = $data['experience_level'] ?? null; $instance->theme_selection = $data['theme_selection'] ?? null; $instance->site_features = $data['site_features'] ?? []; return $instance; } public function to_array(): array { return [ 'building_for' => $this->building_for, 'site_about' => $this->site_about, 'experience_level' => $this->experience_level, 'theme_selection' => $this->theme_selection, 'site_features' => $this->site_features, ]; } public function get_building_for(): ?string { return $this->building_for; } public function set_building_for( ?string $value ): void { $this->building_for = $value; } public function get_site_about(): array { return $this->site_about; } public function set_site_about( array $value ): void { $this->site_about = $value; } public function get_experience_level(): ?string { return $this->experience_level; } public function set_experience_level( ?string $value ): void { $this->experience_level = $value; } public function get_theme_selection(): ?string { return $this->theme_selection; } public function set_theme_selection( ?string $value ): void { $this->theme_selection = $value; } public function get_site_features(): array { return $this->site_features; } public function set_site_features( array $value ): void { $this->site_features = $value; } }