BP_MEMBERS_SLUG

The BuddyPress BP MEMBERS SLUG constant.

Value (unknown)

$bp->pages->members->slug 

Usage

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

Defined (3)

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

/bp-members/bp-members-functions.php  
  1. define( 'BP_MEMBERS_SLUG', $bp->pages->members->slug ); 
  1. define( 'BP_MEMBERS_SLUG', 'members' ); 
/bp-members/classes/class-bp-members-component.php  
  1. define( 'BP_MEMBERS_SLUG', $this->id );