woocommerce_payment_gateways

The WooCommerce Sisow Mastercard woocommerce payment gateways hook.

Description

add_filter( 'woocommerce_payment_gateways', (string) $add_sisow_webshop_gateway ); 

Parameters (1)

0. $add_sisow_webshop_gateway (string) => 'add_sisow_webshop_gateway'
The add sisow webshop gateway.

Usage

To run the hook, copy the example below.
  1. $add_sisow_webshop_gateway = apply_filters( 'woocommerce_payment_gateways', $add_sisow_webshop_gateway ); 
  2.  
  3. if ( !empty( $add_sisow_webshop_gateway ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the woocommerce_payment_gateways callback 
  2. function filter_woocommerce_payment_gateways( $add_sisow_webshop_gateway ) { 
  3. // make filter magic happen here... 
  4. return $add_sisow_webshop_gateway
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'woocommerce_payment_gateways', 'filter_woocommerce_payment_gateways', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'woocommerce_payment_gateways', 'filter_woocommerce_payment_gateways', 10, 1 ); 

Defined (13)

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

/sisowwg.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_webshop_gateway' ); 
/sisowvisa.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_visa_gateway' ); 
/sisowsb.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_sofort_gateway' ); 
/sisowpp.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_paypalec_gateway' ); 
/sisowob.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_overboeking_gateway' ); 
/sisowmc.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_mistercash_gateway' ); 
/sisowmastercard.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_mastercard_gateway' ); 
/sisowmaestro.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_maestro_gateway' ); 
/sisowideal.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_ideal_gateway'); 
/sisowgiropay.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_giropay_gateway'); 
/sisowfocum.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_focum_gateway' ); 
/sisoweps.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_eps_gateway'); 
/sisowebill.php  
  1. add_filter('woocommerce_payment_gateways', 'add_sisow_ebill_gateway' );