UPLOAD_DIR_LOOK

The rtMedia for WordPress, BuddyPress and bbPress UPLOAD DIR LOOK constant.

Value (string)

sys_get_temp_dir() . '/' 

Usage

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

Defined (1)

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

/app/main/controllers/api/RTMediaJsonApi.php  
  1. define( 'UPLOAD_DIR_LOOK', sys_get_temp_dir() . '/' );