inkthemes_registers

The ColorWay inkthemes registers function.

Description

inkthemes_registers(); 

Usage

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

Defined (1)

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

/functions/customizer.php  
  1. function inkthemes_registers() { 
  2. wp_register_script('inkthemes_jquery_ui', '//code.jquery.com/ui/1.11.0/jquery-ui.js', array("jquery"), true); 
  3. wp_register_script('inkthemes_customizer_script', get_template_directory_uri() . '/functions/js/inkthemes_customizer.js', array("jquery", "inkthemes_jquery_ui"), true); 
  4. wp_enqueue_script('inkthemes_customizer_script'); 
  5. wp_localize_script('inkthemes_customizer_script', 'ink_advert', array( 
  6. 'pro' => __('View PRO version', 'colorway'),  
  7. 'url' => esc_url('http://www.inkthemes.com/wp-themes/colorway-wp-theme/'),  
  8. 'support_text' => __('Need Help!', 'colorway'),  
  9. 'support_url' => esc_url('http://www.inkthemes.com/lets-connect/'),  
  10. );