woocommerce_shipping_may_be_available_html
Использование
add_filter( 'woocommerce_shipping_may_be_available_html', 'wp_kama_woocommerce_shipping_may_be_available_html_filter' ); /** * Function for `woocommerce_shipping_may_be_available_html` filter-hook. * * @param $__ * * @return */ function wp_kama_woocommerce_shipping_may_be_available_html_filter( $__ ){ // filter... return $__; }
- $__
- -
Где вызывается хук
В файле: /templates/cart/cart-shipping.php
woocommerce_shipping_may_be_available_html
woocommerce/templates/cart/cart-shipping.php 64
echo wp_kses_post( apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) );