WC_Shop_Customizer::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Shop_Customizer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Shop_Customizer = new WC_Shop_Customizer();
$WC_Shop_Customizer->__construct();

WC_Shop_Customizer::__construct() code WC 9.4.2

public function __construct() {
	add_action( 'customize_register', array( $this, 'add_sections' ) );
	add_action( 'customize_controls_print_styles', array( $this, 'add_styles' ) );
	add_action( 'customize_controls_print_scripts', array( $this, 'add_scripts' ), 30 );
	add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
	add_action( 'wp_enqueue_scripts', array( $this, 'add_frontend_scripts' ) );
}