add_gateway_novalnet_sepa

Add the gateway to WooCommerce.

Description

(array) add_gateway_novalnet_sepa( (array) $methods ); 

Returns (array)

Parameters (1)

0. $methods (array)
The methods.

Usage

  1. if ( !function_exists( 'add_gateway_novalnet_sepa' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-payment-gateway-by-novalnet/includes/novalnet_sepa.php'; 
  3.  
  4. // The methods. 
  5. $methods = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = add_gateway_novalnet_sepa($methods); 
  9.  

Defined (1)

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

/includes/novalnet_sepa.php  
  1. function add_gateway_novalnet_sepa($methods) { 
  2. global $novalnet_payment_methods; 
  3. $methods[] = 'novalnet_sepa'; 
  4. return $methods; 
  5. } // End add_gateway_novalnet_sepa()