BP_PLUGIN_URL

The BuddyPress BP PLUGIN URL constant.

Value (unknown)

plugin_dir_url( __FILE__ ) 

Usage

  1. if ( defined( 'BP_PLUGIN_URL' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BP_PLUGIN_URL' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

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

/class-buddypress.php  
  1. define( 'BP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );