fnwc_gateway_activation

The WooCommerce Payment Gateway for Saferpay fnwc gateway activation function.

Description

fnwc_gateway_activation(); 

Usage

  1. if ( !function_exists( 'fnwc_gateway_activation' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-payment-gateway-for-saferpay/fn-plugin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = fnwc_gateway_activation(); 
  7.  

Defined (1)

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

/fn-plugin.php  
  1. function fnwc_gateway_activation() 
  2. update_option( 'saferpay_page_id', 0);