WC_Shop_Customizer::__construct()
Constructor.
Метод класса: WC_Shop_Customizer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Shop_Customizer = new WC_Shop_Customizer(); $WC_Shop_Customizer->__construct();
Код WC_Shop_Customizer::__construct() WC Shop Customizer:: construct WC 8.1.1
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' ) ); }