woocommerce_country_locale_field_selectors
Использование
add_filter( 'woocommerce_country_locale_field_selectors', 'wp_kama_woocommerce_country_locale_field_selectors_filter' ); /** * Function for `woocommerce_country_locale_field_selectors` filter-hook. * * @param $locale_fields * * @return */ function wp_kama_woocommerce_country_locale_field_selectors_filter( $locale_fields ){ // filter... return $locale_fields; }
- $locale_fields
- -
Где вызывается хук
woocommerce_country_locale_field_selectors
woocommerce/includes/class-wc-countries.php 841
return apply_filters( 'woocommerce_country_locale_field_selectors', $locale_fields );