📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 11:20:04
📂
/ (Root)
/
home
/
orkouolp
/
web
/
orkofarms.com
/
wp-content
/
plugins
/
elementor
/
modules
/
interactions
/
validators
📍 /home/orkouolp/web/orkofarms.com/wp-content/plugins/elementor/modules/interactions/validators
🔄 Refresh
✏️
Editing: custom-effect-value.php
Writable
<?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(); } }
💾 Save Changes
❌ Cancel