[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-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
/
modules
/
interactions
/
validators
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 breakpoints-value.php
1,652 B
SET
[ EDIT ]
|
[ DEL ]
📄 custom-effect-value.php
851 B
SET
[ EDIT ]
|
[ DEL ]
📄 string-value.php
634 B
SET
[ EDIT ]
|
[ DEL ]
📄 trigger-value.php
505 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: string-value.php
<?php namespace Elementor\Modules\Interactions\Validators; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class String_Value { public static function is_valid( $prop_value, $allowed_values = null ) { if ( ! is_array( $prop_value ) ) { return false; } if ( ! isset( $prop_value['$$type'] ) || 'string' !== $prop_value['$$type'] ) { return false; } if ( ! isset( $prop_value['value'] ) || ! is_string( $prop_value['value'] ) ) { return false; } if ( null !== $allowed_values && ! in_array( $prop_value['value'], $allowed_values, true ) ) { return false; } return true; } }