woocommerce_update_options_payment_gateways_(gateway_id) action-hookWC 3.4.0

Fires update actions for payment gateways.

Usage

add_action( 'woocommerce_update_options_payment_gateways_(gateway_id)', 'wp_kama_woocommerce_update_options_payment_gateways_gateway_id_action' );

/**
 * Function for `woocommerce_update_options_payment_gateways_(gateway_id)` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_update_options_payment_gateways_gateway_id_action(){

	// action...
}

Changelog

Since 3.4.0 Introduced.

Where the hook is called

WC_Settings_Payment_Gateways_React::save()
woocommerce_update_options_payment_gateways_(gateway_id)
WC_Settings_Payment_Gateways::save()
woocommerce_update_options_payment_gateways_(gateway_id)
woocommerce/includes/admin/settings/class-wc-settings-payment-gateways-react.php 207
do_action( 'woocommerce_update_options_payment_gateways_' . $gateway->id );
woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php 333
do_action( 'woocommerce_update_options_payment_gateways_' . $gateway->id );

Where the hook is used in WooCommerce

Usage not found.