bp_enqueue_scripts

Fire the 'bp_enqueue_scripts' action, where BP enqueues its CSS and JS.

Description

bp_enqueue_scripts(); 

Usage

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

Defined (1)

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

/bp-core/bp-core-dependency.php  
  1. function bp_enqueue_scripts() { 
  2.  
  3. /** 
  4. * Fires inside the 'bp_enqueue_scripts' function, where BP enqueues its CSS and JS. 
  5. * @since 1.6.0 
  6. */