WPP_PATH

The WooCommerce PDF & Print WPP PATH constant.

Value (string)

WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/' 

Usage

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

Defined (1)

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

/main.php  
  1. define('WPP_PATH', WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/' );