responsive_customize_preview_js

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

Description

responsive_customize_preview_js(); 

Usage

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

Defined (1)

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

/includes/customizer.php  
  1. function responsive_customize_preview_js() { 
  2. wp_enqueue_script( 'responsive_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20140722', true );