skt_pathway_custom_customize_enqueue

The SKT Pathway skt pathway custom customize enqueue function.

Description

skt_pathway_custom_customize_enqueue(); 

Usage

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

Defined (1)

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

/inc/customizer.php  
  1. function skt_pathway_custom_customize_enqueue() { 
  2. wp_enqueue_script( 'skt-pathway-custom-customize', get_template_directory_uri() . '/js/custom-customize.js', array( 'jquery', 'customize-controls' ), false, true ); 
  3. wp_localize_script( 'custom-customize', 'custom_customize_vars', array('.accordion-section-title' => __('Upgrade to PRO Version', 'skt-pathway') 
  4. )); 
  5. }