GC_Customize_Widgets::customize_preview_init()

最后更新于:2021-11-27 10:00:24

GC_Customize_Widgets::customize_preview_init()

Adds hooks for the Customizer preview.

源文件

文件: gc-includes/class-gc-customize-widgets.php

	public function customize_preview_init() {
		add_action( 'gc_enqueue_scripts', array( $this, 'customize_preview_enqueue' ) );
		add_action( 'gc_print_styles', array( $this, 'print_preview_css' ), 1 );
		add_action( 'gc_footer', array( $this, 'export_preview_data' ), 20 );
	}