For our customization want to add specific country to woocommerce country list then place the following snippet in functions.php within your theme folder!.

function woo_add_specific_country( $country ) 
{
   unset($country["US"]);
   return $country; 
}
add_filter( 'woocommerce_countries', 'woo_add_specific_country', 10, 1 );

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *