HEX
Server: LiteSpeed
System: Linux s12873.lon1.stableserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: jairicem (1242)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/jairicem/basalehglobal.ng/wp-content/themes/mitech/framework/class-import.php
<?php
defined( 'ABSPATH' ) || exit;

/**
 * Initial OneClick import for this theme
 */
if ( ! class_exists( 'Mitech_Import' ) ) {
	class Mitech_Import {

		public function __construct() {
			add_filter( 'insight_core_import_demos', array( $this, 'import_demos' ) );
			add_filter( 'insight_core_import_generate_thumb', '__return_false' );
			add_filter( 'insight_core_import_delete_exist_posts', '__return_true' );
		}

		public function import_demos() {
			return array(
				'main' => array(
					'screenshot' => MITECH_THEME_URI . '/screenshot.jpg',
					'name'       => esc_html__( 'Main', 'mitech' ),
					'url'        => 'https://www.dropbox.com/s/dh3x6qkw6o4vz4r/mitech-insightcore01-main-1.6.11.0.zip?dl=1',
				),
				'rtl'  => array(
					'screenshot' => MITECH_THEME_URI . '/assets/import/rtl/screenshot.jpg',
					'name'       => esc_html__( 'RTL', 'mitech' ),
					'url'        => 'https://www.dropbox.com/s/ytilt3bh5kuivdo/mitech-insightcore01-rtl-1.5.0.zip?dl=1',
				),
			);
		}
	}

	new Mitech_Import();
}