GC_Customize_Selective_Refresh::init_preview()
最后更新于:2021-11-27 08:14:49
GC_Customize_Selective_Refresh::init_preview()Initializes the Customizer preview.
源文件
文件: gc-includes/customize/class-gc-customize-selective-refresh.php
public function init_preview() {
add_action( 'template_redirect', array( $this, 'handle_render_partials_request' ) );
add_action( 'gc_enqueue_scripts', array( $this, 'enqueue_preview_scripts' ) );
}