<?php
namespace Phox\import\demo;

/**
 * Moon Demo
 * This is eleventh demo for the theme
 * the primary color #620ABD
 *
 * @package Phox
 * @author WHMCSdes
 * @link https://whmcsdes.com
 */

class Moon_Demo extends Demo {


	public function config() {

		return [
			'demo_id'                  => 'moon',
			'demo_num'                 => '13',
			'import_file_name'         => 'Moon Demo',
			'import_file_url'          => 'https://www.whmcsdes.com/ca/dl.php?type=d&id=89',
			'import_widget_file_url'   => 'https://whmcsdes.com/phoxdemo/moon/moon_wordpress-widget.wie',
			'preview_url'              => 'https://phox.whmcsdes.com/demos/moon',
			'import_preview_image_url' => 'https://whmcsdes.com/phoxdemo/moon/moon.jpg',
			'update_media_url'         => true,
			'elementor_kit'            => 'moon-kit'
		];

	}

	public function theme_option() {

		$theme_options_json = wp_remote_retrieve_body( wp_remote_get( 'https://whmcsdes.com/phoxdemo/moon/moon_demo-2022-03-03.json' ) );

		return json_decode( $theme_options_json, true );
	}


}