Created
October 31, 2022 13:21
-
-
Save rashedripon/f96b85ee512ab2533e02d9e1fb9f3625 to your computer and use it in GitHub Desktop.
Add new state
This file contains hidden or 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
/** | |
* Add or modify States | |
*/ | |
add_filter( 'woocommerce_states', 'custom_woocommerce_states' ); | |
function custom_woocommerce_states( $states ) { | |
$states['DK'] = array( | |
'DK1' => 'Aarø', | |
); | |
return $states; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment