BPCO_PLUGIN_DIRNAME

The BuddyPress cover BPCO PLUGIN DIRNAME constant.

Value ()

basename( dirname( __FILE__ ) ) 

Usage

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

Defined (1)

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

/bp-cover.php  
  1. define( 'BPCO_PLUGIN_DIRNAME', basename( dirname( __FILE__ ) ) );