fnwc_gateway_saferpay_addme

Add our Payment class to the woocommerce gateway.

Description

(array) fnwc_gateway_saferpay_addme( $methods ); 

Returns (array)

of methods

Parameters (1)

0. $methods
The methods.

Usage

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

Defined (1)

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

/fn-plugin.php  
  1. function fnwc_gateway_saferpay_addme( $methods ) { 
  2.  
  3. $methods[] = 'FNWC_Saferpay_Gateway'; /** Class name */ 
  4. return $methods; 
  5.