WYSIJA_UPLOADS_MS_DIR

The MailPoet Newsletters WYSIJA UPLOADS MS DIR constant.

Value (string)

str_replace(get_option( 'upload_path' ), get_blog_option(1, 'upload_path'), $upload_dir['basedir']).DS.'wysija'.DS 

Usage

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

Defined (1)

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

/core/constants.php  
  1. define('WYSIJA_UPLOADS_MS_DIR', str_replace(get_option( 'upload_path' ), get_blog_option(1, 'upload_path'), $upload_dir['basedir']).DS.wysija.DS);