[ 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: custom-effect-value.php
<?php namespace Elementor\Modules\Interactions\Validators; use Elementor\Modules\AtomicWidgets\Parsers\Props_Parser; use Elementor\Modules\Interactions\Props\Custom_Effect_Prop_Type; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * TODO: At least a value validator interface to enforce is_valid fxn for consistency */ class Custom_Effect_Value { public static function is_valid( array $animation_value ): bool { $effect_value = $animation_value['effect']['value'] ?? null; if ( 'custom' !== $effect_value ) { return true; } if ( ! isset( $animation_value['custom_effect'] ) ) { return false; } $props_parser = Props_Parser::make( [ 'custom_effect' => Custom_Effect_Prop_Type::make(), ] ); $result = $props_parser->parse( [ 'custom_effect' => $animation_value['custom_effect'] ] ); return $result->is_valid(); } }