woocommerce_gateway_

woocommerce_gateway_

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_gateway_') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php line 211
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    }
     
    // 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 );