WC_Shop_Customizer::__construct() public WC 1.0
Constructor.
{} Это метод класса: WC_Shop_Customizer{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WC_Shop_Customizer = new WC_Shop_Customizer(); $WC_Shop_Customizer->__construct();
Код WC_Shop_Customizer::__construct() WC Shop Customizer:: construct WC 5.0.0
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( 'wp_enqueue_scripts', array( $this, 'add_frontend_scripts' ) );
}