PHP 8.2.31
Preview: performance.php Size: 660 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/elementor/core/frontend/performance.php

<?php
namespace Elementor\Core\Frontend;

use Elementor\Plugin;

class Performance {

	private static $use_style_controls = false;

	private static $is_frontend = null;

	public static function set_use_style_controls( bool $is_use ): void {
		static::$use_style_controls = $is_use;
	}

	public static function is_use_style_controls(): bool {
		return static::$use_style_controls;
	}

	public static function should_optimize_controls() {
		if ( null === static::$is_frontend ) {
			static::$is_frontend = (
				! is_admin()
				&& ! Plugin::$instance->preview->is_preview_mode()
				&& ! defined( 'REST_REQUEST' )
			);
		}

		return static::$is_frontend;
	}
}

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
- drwxr-xr-x 2026-06-12 02:39:37
Edit Download
660 B lrw-r--r-- 2026-02-02 14:52:12
Edit Download
5.00 KB lrw-r--r-- 2025-10-21 16:51:06
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).