CMB_DIRECTORY_PATH

The BuddyPress Profile Tabs CMB DIRECTORY PATH constant.

Value (string)

trailingslashit( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) 

Usage

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

Defined (1)

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

/admin/includes/CMBF/tests/phpunit/includes/bootstrap.php  
  1. define( 'CMB_DIRECTORY_PATH', trailingslashit( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) );