HEX
Server: LiteSpeed
System: Linux premium93.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: adorhxqn (904)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/adorhxqn/public_html/wp-content/plugins/elementor-pro/base/base-widget.php
<?php
namespace ElementorPro\Base;

use Elementor\Widget_Base;
use ElementorPro\Plugin;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

abstract class Base_Widget extends Widget_Base {

	use Base_Widget_Trait;
	use On_Import_Trait;

	// TODO: Remove this in v3.28 [ED-15983].
	public function is_swiper_upgrade_experiment_state_inactive() {
		$experiment_exists = ! empty( Plugin::elementor()->experiments->get_features( 'e_swiper_latest' ) );

		if ( ! $experiment_exists ) {
			return false;
		}

		$is_experiment_active = Plugin::elementor()->experiments->is_feature_active( 'e_swiper_latest' );

		return ! $is_experiment_active;
	}
}