<?php
namespace Phox\import\demo;

/**
 * IPhox Demo
 * This is twelfth demo for the theme
 * the primary color #333333
 *
 * @package Phox
 * @author WHMCSdes
 * @link https://whmcsdes.com
 */

class IPhox_Demo extends Demo {


	public function config() {

		return [
			'demo_id'                  => 'iphox',
			'demo_num'                 => '16',
			'import_file_name'         => 'IPhox Demo',
			'import_file_url'          => 'https://www.whmcsdes.com/ca/dl.php?type=d&id=92',
			'import_widget_file_url'   => 'https://whmcsdes.com/phoxdemo/iphox/iphox_wordpress-widget.wie',
			'preview_url'              => 'https://phox.whmcsdes.com/demos/iphox',
			'import_preview_image_url' => 'https://whmcsdes.com/phoxdemo/iphox/iphox.jpg',
			'update_media_url'         => true,
			'elementor_kit'            => 'iphox'
		];

	}

	public function theme_option() {

		$theme_options_json = wp_remote_retrieve_body( wp_remote_get( 'https://whmcsdes.com/phoxdemo/iphox/iphox_demo-2022-10-18.json' ) );

		return json_decode( $theme_options_json, true );
	}


}