woocommerce_cheque_process_payment_order_status filter-hook . WC 1.0
Mark as on-hold (we're awaiting the cheque).
Usage
add_filter( 'woocommerce_cheque_process_payment_order_status', 'filter_function_name_7821', 10, 2 ); function filter_function_name_7821( $string, $order ){ // filter... return $string; }
- $string
- -
- $order
- -
Where the hook is called
woocommerce_cheque_process_payment_order_status
woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php 122
$order->update_status( apply_filters( 'woocommerce_cheque_process_payment_order_status', 'on-hold', $order ), _x( 'Awaiting check payment', 'Check payment method', 'woocommerce' ) );