BP_FRIENDS_SLUG

The BuddyPress BP FRIENDS SLUG constant.

Value (unknown)

$this->id 

Usage

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

Defined (1)

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

/bp-friends/classes/class-bp-friends-component.php  
  1. define( 'BP_FRIENDS_SLUG', $this->id );