woocommerce_cart_ready_to_calc_shipping, true
woocommerce_cart_ready_to_calc_shipping, true
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_cart_ready_to_calc_shipping, true') is found 2 times:
- /includes/class-wc-cart.php line 1836
* This filter is documented below. * * @since 2.7.0 */ return apply_filters( 'woocommerce_cart_ready_to_calc_shipping', true ); } if ( 'shortcode' === $this->cart_context ) { $country = $this->get_customer()->get_shipping_country(); if ( ! $country ) { return false; - /includes/class-wc-cart.php line 1893
* @since 2.7.0 * * @param bool $ready Whether the cart is ready to calculate shipping. */ return apply_filters( 'woocommerce_cart_ready_to_calc_shipping', true ); } /** * Gets the shipping total (after calculation). * * @return string price or string for the shipping total