Created
April 8, 2015 14:56
-
-
Save claudiosanches/79f75cc6bb3a241c63ce to your computer and use it in GitHub Desktop.
WooCommerce - Fix state field in IE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_woocommerce_default_address_fields( $fields ) { | |
if ( isset( $fields['state']['placeholder'] ) ) { | |
unset( $fields['state']['placeholder'] ); | |
} | |
return $fields; | |
} | |
add_filter( 'woocommerce_default_address_fields', 'custom_woocommerce_default_address_fields' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment