HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/elementor/core/page-assets/data-managers/responsive-widgets.php
<?php
namespace Elementor\Core\Page_Assets\Data_Managers;

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

/**
 * Elementor Responsive Widgets Data.
 *
 * @since 3.5.0
 */
class Responsive_Widgets extends Base {
	const RESPONSIVE_WIDGETS_DATABASE_KEY = 'responsive-widgets';

	const RESPONSIVE_WIDGETS_FILE_PATH = 'data/responsive-widgets.json';

	protected $content_type = 'json';

	protected $assets_category = 'widgets';

	protected function get_asset_content() {
		$data = $this->get_file_data( 'content' );

		if ( $data ) {
			$data = json_decode( $data, true );
		}

		return $data;
	}
}