HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/plugins/elementor/includes/widgets/common-optimized.php
<?php
namespace Elementor;

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

class Widget_Common_Optimized extends Widget_Common_Base {

	const WRAPPER_SELECTOR = '{{WRAPPER}}';
	const WRAPPER_SELECTOR_CHILD = '{{WRAPPER}}';
	const WRAPPER_SELECTOR_HOVER = '{{WRAPPER}}:hover';
	const WRAPPER_SELECTOR_HOVER_CHILD = '{{WRAPPER}}:hover';
	const MASK_SELECTOR_DEFAULT = '{{WRAPPER}}:not( .elementor-widget-image )';
	const MASK_SELECTOR_IMG = '{{WRAPPER}}.elementor-widget-image img';
	const TRANSFORM_SELECTOR_CLASS = '';
	const MARGIN = 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} calc(var(--kit-widget-spacing, 0px) + {{BOTTOM}}{{UNIT}}) {{LEFT}}{{UNIT}};';

	public function get_name() {
		return 'common-optimized'; // TODO: Rename to 'common' and use this version when the Optimized Markup feature is merged.
	}
}