woocommerce_shipping_not_enabled_on_cart_html
Usage
add_filter( 'woocommerce_shipping_not_enabled_on_cart_html', 'wp_kama_woocommerce_shipping_not_enabled_on_cart_html_filter' ); /** * Function for `woocommerce_shipping_not_enabled_on_cart_html` filter-hook. * * @param $__ * * @return */ function wp_kama_woocommerce_shipping_not_enabled_on_cart_html_filter( $__ ){ // filter... return $__; }
- $__
- -
Where the hook is called
In file: /templates/cart/cart-shipping.php
woocommerce_shipping_not_enabled_on_cart_html
woocommerce/templates/cart/cart-shipping.php 62
echo wp_kses_post( apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ) );