BP_XPROFILE_BASE_GROUP_NAME

The BuddyPress BP XPROFILE BASE GROUP NAME constant.

Value (string)

stripslashes( bp_core_get_root_option( 'avatar_default' ) ) 

Usage

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

Defined (1)

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

/bp-xprofile/classes/class-bp-xprofile-component.php  
  1. define( 'BP_XPROFILE_BASE_GROUP_NAME', stripslashes( bp_core_get_root_option( 'avatar_default' ) ) );