PMWI_ROOT_DIR

The WP All Import - WooCommerce Add-On PMWI ROOT DIR constant.

Value (string)

str_replace('\\', '/', dirname(__FILE__)) 

Usage

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

Defined (1)

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

/plugin.php  
  1. define('PMWI_ROOT_DIR', str_replace('\\', '/', dirname(__FILE__)));