| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/elementor/modules/components/ |
Upload File : |
<?php
namespace Elementor\Modules\Components;
use Elementor\Modules\AtomicWidgets\PropTypes\Utils\Prop_Types_Schema_Extender;
use Elementor\Modules\AtomicWidgets\PropTypes\Contracts\Prop_Type;
use Elementor\Modules\Components\PropTypes\Overridable_Prop_Type;
use Elementor\Modules\GlobalClasses\Utils\Atomic_Elements_Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class Overridable_Schema_Extender extends Prop_Types_Schema_Extender {
public static function make(): self {
return new static();
}
protected function get_prop_types_to_add( Prop_Type $prop_type ): array {
$is_ignore_overridable_applied = ! $prop_type->get_meta_item( Overridable_Prop_Type::META_KEY, true );
$is_classes_prop = Atomic_Elements_Utils::is_classes_prop( $prop_type );
if ( $is_ignore_overridable_applied || $is_classes_prop ) {
return [];
}
return [ Overridable_Prop_Type::make()->set_origin_prop_type( $prop_type ) ];
}
}