WordPress at Your Fingertips
filter is not described

woocommerce_cod_process_payment_order_status filter-hook . WC 1.0

Mark as processing or on-hold (payment won't be taken until delivery).

Usage

add_filter( 'woocommerce_cod_process_payment_order_status', 'filter_function_name_9474', 10, 2 );
function filter_function_name_9474( $on-hold, $order ){
	// filter...

	return $on-hold;
}
$on-hold
-
$order
-

Where the hook is called

WC_Gateway_COD::process_payment()
woocommerce_cod_process_payment_order_status
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 326
$order->update_status( apply_filters( 'woocommerce_cod_process_payment_order_status', $order->has_downloadable_item() ? 'on-hold' : 'processing', $order ), __( 'Payment to be made upon delivery.', 'woocommerce' ) );

Where in WP core the hook is used WooCommerce

Usage not found.