woocommerce_bacs_process_payment_order_status

woocommerce_bacs_process_payment_order_status

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_bacs_process_payment_order_status') is found 1 times:

  • /includes/gateways/bacs/class-wc-gateway-bacs.php line 409
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
         *
         * @param string $default_status The default order status.
         * @param object $order          The order object.
         */
        $process_payment_status = apply_filters( 'woocommerce_bacs_process_payment_order_status', OrderStatus::ON_HOLD, $order );
        // Mark as on-hold (we're awaiting the payment).
        $order->update_status( $process_payment_status, __( 'Awaiting BACS payment', 'woocommerce' ) );
    } else {
        $order->payment_complete();
    }