• Resolved alvinhohcw

    (@alvinhohcw)


    Hi,

    Recently I was trying to change the BACS payment default order status with the following code.

    add_filter( ‘woocommerce_bacs_process_payment_order_status’,’filter_bacs_process_payment_order_status_callback’, 10, 2 );
    function filter_bacs_process_payment_order_status_callback( $order_status, $order ) {
    return ‘processing’;
    }

    and it succeeded, but now when I try to delete the code and get back to the default status(on-hold), it still remain the (processing) status when I create new orders.

    How can I change it back? Thank you.

The topic ‘BACS payment default order status’ is closed to new replies.