skt_photo_world_optionsframework_custom_scripts

The SKT Photo World skt photo world optionsframework custom scripts function.

Description

skt_photo_world_optionsframework_custom_scripts(); 

Usage

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

Defined (1)

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

/inc/custom-functions.php  
  1. function skt_photo_world_optionsframework_custom_scripts() { ?> 
  2. <script type="text/javascript"> 
  3. jQuery(document).ready(function() { 
  4.  
  5. jQuery('#example_showhidden').click(function() { 
  6. jQuery('#section-example_text_hidden').fadeToggle(400); 
  7. }); 
  8.  
  9. if (jQuery('#example_showhidden:checked').val() !== undefined) { 
  10. jQuery('#section-example_text_hidden').show(); 
  11.  
  12. }); 
  13. </script><?php