woocommerce_product_needs_shipping filter-hook . WC 1.0
Checks if a product needs shipping.
Usage
add_filter( 'woocommerce_product_needs_shipping', 'filter_function_name_1475', 10, 2 ); function filter_function_name_1475( $condition, $that ){ // filter... return $condition; }
- $condition
- -
- $that
- -
Where the hook is called
woocommerce_product_needs_shipping
woocommerce/includes/abstracts/abstract-wc-product.php 1603
return apply_filters( 'woocommerce_product_needs_shipping', ! $this->is_virtual(), $this );