woocommerce_countries_shipping_to_prefix хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_countries_shipping_to_prefix', 'filter_function_name_1111', 10, 2 ); function filter_function_name_1111( $return, $country_code ){ // filter... return $return; }
- $return
- -
- $country_code
- -
Где вызывается хук
woocommerce_countries_shipping_to_prefix
woocommerce/includes/class-wc-countries.php 404
return apply_filters( 'woocommerce_countries_shipping_to_prefix', $return, $country_code );