skt_white_optionsframework_custom_scripts

The SKT White skt white optionsframework custom scripts function.

Description

skt_white_optionsframework_custom_scripts( $hook ); 

Parameters (1)

0. $hook
The hook.

Usage

  1. if ( !function_exists( 'skt_white_optionsframework_custom_scripts' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The hook. 
  5. $hook = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = skt_white_optionsframework_custom_scripts($hook); 
  9.  

Defined (1)

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

/functions.php  
  1. function skt_white_optionsframework_custom_scripts( $hook ) { 
  2. if ( 'appearance_page_white-options' != $hook ) { 
  3. return; 
  4. wp_enqueue_script( 'skt-white-option-script', get_template_directory_uri().'/js/optionframework-custom.js' );