BP_COVER_TEMPLATES_DIR

The BuddyPress cover BP COVER TEMPLATES DIR constant.

Value (string)

BPCO_PLUGIN_DIR . 'templates/' 

Usage

  1. if ( defined( 'BP_COVER_TEMPLATES_DIR' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BP_COVER_TEMPLATES_DIR' ); 
  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( 'BP_COVER_TEMPLATES_DIR', BPCO_PLUGIN_DIR . 'templates/');