WC_POS_PLUGIN_URL

The WooCommerce POS WC POS PLUGIN URL constant.

Value (string)

trailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) 

Usage

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

Defined (1)

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

/woocommerce-pos.php  
  1. define( 'WC_POS_PLUGIN_URL', trailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );