globalpay_activate

The Woocommerce GlobalPay globalpay activate function.

Description

globalpay_activate(); 

Usage

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

Defined (1)

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

/woocommerce-globalpay.php  
  1. function globalpay_activate() { 
  2. flush_rewrite_rules();