woocommerce_cart_needs_shipping_address

woocommerce_cart_needs_shipping_address

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cart_needs_shipping_address') is found 1 times:

  • /includes/class-wc-cart.php line 1558
    	 *
    	 * @return bool
    	 */
    	public function needs_shipping_address() {
    		return apply_filters( 'woocommerce_cart_needs_shipping_address', true === $this->needs_shipping() && ! wc_ship_to_billing_address_only() );
    	}
    
    	/**
    	 * Sees if the customer has entered enough data to calc the shipping yet.
    	 *
    	 * @return bool