Created
November 22, 2020 10:13
-
-
Save gaiqus/5c400ddd044c9eaab2c38a4698f7ae80 to your computer and use it in GitHub Desktop.
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
add_filter( 'woocommerce_states', 'fs_add_uae_emirates' ); | |
function fs_add_uae_emirates( $states ) { | |
$states['AE'] = array( | |
'AZ' => __( 'Abu Dhabi', 'woocommerce' ), | |
'AJ' => __( 'Ajman', 'woocommerce' ), | |
'FU' => __( 'Fujairah', 'woocommerce' ), | |
'SH' => __( 'Sharjah', 'woocommerce' ), | |
'DU' => __( 'Dubai', 'woocommerce' ), | |
'RK' => __( 'Ras Al Khaimah', 'woocommerce' ), | |
'UQ' => __( 'Umm Al Quwain', 'woocommerce' ), | |
); | |
return $states; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment