BP_AVATAR_UPLOAD_PATH

The BuddyPress BP AVATAR UPLOAD PATH constant.

Value (unknown)

$bp->avatar->upload_path 

Usage

  1. if ( defined( 'BP_AVATAR_UPLOAD_PATH' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BP_AVATAR_UPLOAD_PATH' ); 
  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_AVATAR_UPLOAD_PATH', $bp->avatar->upload_path );