globalpay_add_query_var

The Woocommerce GlobalPay globalpay add query var function.

Description

globalpay_add_query_var( $vars ); 

Parameters (1)

0. $vars
The vars.

Usage

  1. if ( !function_exists( 'globalpay_add_query_var' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-globalpay/woocommerce-globalpay.php'; 
  3.  
  4. // The vars. 
  5. $vars = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = globalpay_add_query_var($vars); 
  9.  

Defined (1)

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

/woocommerce-globalpay.php  
  1. function globalpay_add_query_var($vars) { 
  2. $vars[] = 'globalpay-transaction-response'; 
  3. return $vars;