bp_core_get_js_dependencies

Get the JavaScript dependencies for buddypress.js.

Description

(array) bp_core_get_js_dependencies(); 

Returns (array)

The JavaScript dependencies.


Usage

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

Defined (1)

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

/bp-core/bp-core-cssjs.php  
  1. function bp_core_get_js_dependencies() { 
  2.  
  3. /** 
  4. * Filters the javascript dependencies for buddypress.js. 
  5. * @since 2.0.0 
  6. * @param array $value Array of javascript dependencies for buddypress.js. 
  7. */ 
  8. 'jquery',  
  9. 'bp-confirm',  
  10. 'bp-widget-members',  
  11. 'bp-jquery-query',  
  12. 'bp-jquery-cookie',  
  13. 'bp-jquery-scroll-to' 
  14. ) );