<?php
namespace Phox\import\demo;

/**
 * Cheap Demo
 * This is thirteenth demo for the theme
 * the primary color #2f55cf
 *
 * @package Phox
 * @author WHMCSdes
 * @link https://whmcsdes.com
 */

class Cheap_Demo extends Demo {

    public function config() {

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

    }

    public function theme_option()
    {
        $theme_options_json = wp_remote_retrieve_body( wp_remote_get( 'https://whmcsdes.com/phoxdemo/cheap/cheap_demo-2022-08-15.json' ) );

        return json_decode( $theme_options_json, true );
    }
}
