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