catchresponsive_customize_scripts

Custom scripts and styles on customize.php for catchresponsive.

Description

catchresponsive_customize_scripts(); 

Usage

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

Defined (1)

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

/inc/customizer-includes/catchresponsive-customizer.php  
  1. function catchresponsive_customize_scripts() { 
  2. wp_enqueue_script( 'catchresponsive_customizer_custom', get_template_directory_uri() . '/js/catchresponsive-customizer-custom-scripts.min.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20150630', true ); 
  3.  
  4. $catchresponsive_misc_links = array( 
  5. 'reset_message' => esc_html__( 'Refresh the customizer page after saving to view reset effects', 'catch-responsive' ) 
  6. ); 
  7.  
  8. $catchresponsive_misc_links['color_list'] = catchresponsive_color_list(); 
  9.  
  10. //Add Upgrade Button and old WordPress message via localized script 
  11. wp_localize_script( 'catchresponsive_customizer_custom', 'catchresponsive_misc_links', $catchresponsive_misc_links ); 
  12.  
  13. wp_enqueue_script( 'catchresponsive_customizer_custom' );