woocommerce_cart_needs_shipping_address, true === $this->needs_shipping(

woocommerce_cart_needs_shipping_address, true === $this->needs_shipping(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_cart_needs_shipping_address, true === $this->needs_shipping(') is found 1 times:

  • /includes/class-wc-cart.php line 1814
    	 *
    	 * @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 calculate shipping.
    	 *
    	 * @return bool