BP_ACTIVITY_SLUG

The BuddyPress BP ACTIVITY SLUG constant.

Value (unknown)

$this->id 

Usage

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

Defined (1)

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

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