| Server IP : 213.136.93.164 / Your IP : 216.73.217.47 Web Server : Apache System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : ki692510 ( 1047) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/ki692510/www/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 ) ];
}
}