globalpay_end_session

The Woocommerce GlobalPay globalpay end session function.

Description

globalpay_end_session(); 

Usage

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

Defined (1)

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

/woocommerce-globalpay.php  
  1. function globalpay_end_session() { 
  2. if (session_id()) { 
  3. session_destroy();