catchresponsive_customize_preview

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

Description

catchresponsive_customize_preview(); 

And flushes out all transient data on preview


Usage

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

Defined (1)

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

/inc/customizer-includes/catchresponsive-customizer.php  
  1. function catchresponsive_customize_preview() { 
  2. wp_enqueue_script( 'catchresponsive_customizer', get_template_directory_uri() . '/js/catchresponsive-customizer.min.js', array( 'customize-preview' ), '20120827', true ); 
  3.  
  4. //Flush transients on preview