woocommerce_cheque_process_payment_order_status filter-hookWC 1.0

Mark as on-hold (we're awaiting the cheque).

Usage

add_filter( 'woocommerce_cheque_process_payment_order_status', 'wp_kama_woocommerce_cheque_process_payment_order_status_filter', 10, 2 );

/**
 * Function for `woocommerce_cheque_process_payment_order_status` filter-hook.
 * 
 * @param  $string 
 * @param  $order  
 *
 * @return 
 */
function wp_kama_woocommerce_cheque_process_payment_order_status_filter( $string, $order ){

	// filter...
	return $string;
}
$string
-
$order
-

Where the hook is called

WC_Gateway_Cheque::process_payment()
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' ) );

Where the hook is used in WooCommerce

Usage not found.