Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/elementor/core/page-assets/data-managers/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/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;
}
}