woocommerce_order_item_needs_processing filter-hookWC 1.0

Usage

add_filter( 'woocommerce_order_item_needs_processing', 'wp_kama_woocommerce_order_item_needs_processing_filter', 10, 3 );

/**
 * Function for `woocommerce_order_item_needs_processing` filter-hook.
 * 
 * @param  $condition 
 * @param  $product   
 * @param  $id        
 *
 * @return 
 */
function wp_kama_woocommerce_order_item_needs_processing_filter( $condition, $product, $id ){

	// filter...
	return $condition;
}
$condition
-
$product
-
$id
-

Where the hook is called

WC_Order::needs_processing()
woocommerce_order_item_needs_processing
woocommerce/includes/class-wc-order.php 1758
if ( apply_filters( 'woocommerce_order_item_needs_processing', ! $virtual_downloadable_item, $product, $this->get_id() ) ) {

Where the hook is used in WooCommerce

Usage not found.