WOOPS_JS_URL

The WooCommerce Predictive Search LITE WOOPS JS URL constant.

Value (string)

WOOPS_URL . '/assets/js' 

Usage

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

Defined (1)

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

/wc-predictive-search.php  
  1. define( 'WOOPS_JS_URL', WOOPS_URL . '/assets/js' );