BB_THEME_DIR

The BuddyPress BB THEME DIR constant.

Value (constant)

BBTHEMEDIR 

Usage

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

Defined (2)

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

/bp-forums/bbpress/bb-settings.php  
  1. define( 'BB_THEME_DIR', BBTHEMEDIR ); 
  1. define( 'BB_THEME_DIR', BB_PATH . 'my-templates/' );