woocommerce_gateway_

woocommerce_gateway_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_gateway_') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php line 211
    		}
    
    		// Update options.
    		$gateway->settings = $settings;
    		update_option( $gateway->get_option_key(), apply_filters( 'woocommerce_gateway_' . $gateway->id . '_settings_values', $settings, $gateway ) );
    
    		// Update order.
    		if ( isset( $request['order'] ) ) {
    			$order                 = (array) get_option( 'woocommerce_gateway_order' );
    			$order[ $gateway->id ] = $request['order'];
    			update_option( 'woocommerce_gateway_order', $order );