optionsframework_mlu_js

The Evolved optionsframework mlu js function.

Description

optionsframework_mlu_js(); 

Usage

  1. if ( !function_exists( 'optionsframework_mlu_js' ) ) { 
  2. require_once '/admin/options-framework/options-medialibrary-uploader.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = optionsframework_mlu_js(); 
  7.  

Defined (1)

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

/admin/options-framework/options-medialibrary-uploader.php  
  1. function optionsframework_mlu_js () { 
  2.  
  3. // Registers custom scripts for the Media Library AJAX uploader. 
  4. wp_register_script( 'of-medialibrary-uploader', OPTIONS_FRAMEWORK_DIRECTORY .'js/of-medialibrary-uploader.js', array( 'jquery', 'thickbox' ) ); 
  5. wp_enqueue_script( 'of-medialibrary-uploader' ); 
  6. wp_enqueue_script( 'media-upload' );