Want create site? Find Free WordPress Themes and plugins.

This is a simple snippet from the wonderful people at WooCommerce and does exactly what you would think. Add this snippet to the functions.php to add a new country to WooCommerce countries list.

The Code Snippet:

function woo_add_my_country( $country ) {
   $country["AE-DU"] = 'Dubai';
   return $country;
}
add_filter( 'woocommerce_countries', 'woo_add_my_country', 10, 1 );

Now enjoy!..

Did you find apk for android? You can find new Free Android Games and apps.

Posted by Abhay Kumar

I am Abhay Kumar from New Delhi (India). I'm working as a Web Developer from last 3+ years. You can follow me on Twitter, Facebook or Google+.