woocommerce_order_item_needs_processing

woocommerce_order_item_needs_processing

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_item_needs_processing') is found 1 times:

  • /includes/class-wc-order.php line 1821
    						}
    
    						$virtual_downloadable_item = $product->is_downloadable() && $product->is_virtual();
    
    						if ( apply_filters( 'woocommerce_order_item_needs_processing', ! $virtual_downloadable_item, $product, $this->get_id() ) ) {
    							$needs_processing = 1;
    							break;
    						}
    					}
    				}
    			}