payment_fields_saved_payment_methods

The PayPal for WooCommerce payment fields saved methods hook.

Description

do_action( 'payment_fields_saved_payment_methods', (unknown) $instance ); 

Parameters (1)

0. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'payment_fields_saved_payment_methods', $instance ); 
The following example is for adding a hook callback.
  1. // define the payment_fields_saved_payment_methods callback 
  2. function action_payment_fields_saved_payment_methods( $instance ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'payment_fields_saved_payment_methods', 'action_payment_fields_saved_payment_methods', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'payment_fields_saved_payment_methods', 'action_payment_fields_saved_payment_methods', 10, 1 ); 

Defined (6)

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

/classes/wc-gateway-paypal-pro-payflow-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this); 
/classes/wc-gateway-paypal-pro-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this); 
/classes/wc-gateway-paypal-express-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this); 
/classes/wc-gateway-paypal-credit-cards-rest-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this); 
/classes/wc-gateway-paypal-advanced-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this); 
/classes/wc-gateway-braintree-angelleye.php  
  1. do_action('payment_fields_saved_payment_methods', $this);