BP_SHOW_AVATARS

The BuddyPress BP SHOW AVATARS constant.

Value (string)

bp_get_option( 'show_avatars' ) 

Usage

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

Defined (1)

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

/bp-core/bp-core-avatars.php  
  1. define( 'BP_SHOW_AVATARS', bp_get_option( 'show_avatars' ) );