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.9.5

apply_filters('woocommerce_bacs_process_payment_order_status') is found 1 times:

  • /includes/gateways/bacs/class-wc-gateway-bacs.php line 409
    			 *
    			 * @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();
    		}