wsoe_upload_dir

WSOE upload path.

Description

wsoe_upload_dir(); 

Usage

  1. if ( !function_exists( 'wsoe_upload_dir' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-simply-order-export/lib/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wsoe_upload_dir(); 
  7.  

Defined (1)

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

/lib/functions.php  
  1. function wsoe_upload_dir() { 
  2.  
  3. $upload_dir = wp_upload_dir(); 
  4. wp_mkdir_p( $upload_dir['basedir']. '/wsoe' ); 
  5. $path = $upload_dir['basedir'] . '/wsoe'; 
  6.  
  7. return apply_filters( 'wsoe_get_upload_dir', $path );