bp_cover_options_enqueue_scripts

The BuddyPress cover bp cover options enqueue scripts function.

Description

bp_cover_options_enqueue_scripts(); 

Usage

  1. if ( !function_exists( 'bp_cover_options_enqueue_scripts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-cover/bp-cover-admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_cover_options_enqueue_scripts(); 
  7.  

Defined (1)

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

/bp-cover-admin.php  
  1. function bp_cover_options_enqueue_scripts() { 
  2. wp_enqueue_script('jquery');  
  3. wp_enqueue_script('thickbox'); 
  4. wp_enqueue_style('thickbox'); 
  5. wp_enqueue_script('media-upload');  
  6. wp_enqueue_script( 'bp-cover-admin-js', BPCO_PLUGIN_URL . 'js/bp-cover-admin.js', array('jquery'), '1.7', true );