<?php
namespace Phox\import\demo;

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

class PhoxUp_Demo extends Demo {


    public function config() {

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

    }

    public function theme_option() {

        $theme_options_json = wp_remote_retrieve_body( wp_remote_get( 'https://whmcsdes.com/phoxdemo/phoxup/phoxup_demo-2022-11-20.json' ) );

        return json_decode( $theme_options_json, true );
    }


}