skt_white_customize_preview_js

Binds JS handlers to make Theme Customizer preview reload changes asynchronously.

Description

skt_white_customize_preview_js(); 

Usage

  1. if ( !function_exists( 'skt_white_customize_preview_js' ) ) { 
  2. require_once '/inc/customizer.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = skt_white_customize_preview_js(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/customizer.php  
  1. function skt_white_customize_preview_js() { 
  2. wp_enqueue_script( 'skt_white_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );