<?php
/* Notifications in customizer */
require get_template_directory() . '/inc/customizer/customizer-notify.php';
$flossy_config_customizer = array(
	'recommended_plugins'       => array(
		'woocommerce' => array(
			'recommended' => true,
			'description' => sprintf(__('Install and activate <strong>WooCommerce</strong> plugin for taking full advantage of all the features this theme has to offer.', 'flossy')),
		),
		'ecommerce-companion' => array(
			'recommended' => true,
			'description' => sprintf(__('Install and activate <strong>eCommerce Companion</strong> plugin for taking full advantage of all the features this theme has to offer.', 'flossy')),
		),		
		'classic-widgets' => array(
			'recommended' => true,
			'description' => sprintf(__('Install and activate <strong>Classic Widgets</strong> plugin for taking full advantage of all the features this theme has to offer.', 'flossy')),
		),
	),
	'recommended_actions'       => array(),
	'recommended_actions_title' => esc_html__( 'Recommended Actions', 'flossy' ),
	'recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'flossy' ),
	'install_button_label'      => esc_html__( 'Install and Activate', 'flossy' ),
	'activate_button_label'     => esc_html__( 'Activate', 'flossy' ),
	'flossy_deactivate_button_label'   => esc_html__( 'Deactivate', 'flossy' ),
);
Flossy_Customizer_Notify::init( apply_filters( 'flossy_customizer_notify_array', $flossy_config_customizer ) );



class flossy_import_dummy_data {

	private static $instance;

	public static function init( ) {
		if ( ! isset( self::$instance ) && ! ( self::$instance instanceof flossy_import_dummy_data ) ) {
			self::$instance = new flossy_import_dummy_data;
			self::$instance->flossy_setup_actions();
		}

	}

	/**
	 * Setup the class props based on the config array.
	 */
	

	/**
	 * Setup the actions used for this class.
	 */
	public function flossy_setup_actions() {

		// Enqueue scripts
		add_action( 'customize_controls_enqueue_scripts', array( $this, 'flossy_import_customize_scripts' ), 0 );

	}
	
	

	public function flossy_import_customize_scripts() {

	wp_enqueue_script( 'flossy-import-customizer-js', get_template_directory_uri() . '/inc/customizer/assets/js/import-customizer.js', array( 'customize-controls' ) );
	}
}

$flossy_import_customizers = array(

		'import_data' => array(
			'recommended' => true,
			
		),
);
flossy_import_dummy_data::init( apply_filters( 'flossy_import_customizer', $flossy_import_customizers ) );