Move a country to the top of WooCommerce checkout shipping list


  1. Jay

    Thanks for this post, however the code is not visible

    1. Hi Jay,

      Well for some reason our Gists aren’t showing. Maybe it’s time to repost these scripts directly. You can see the Gist here:

  2. Thank you Bryan You helped me with Shipping country default with this code
    * Change the default country on the checkout page
    add_filter( ‘default_checkout_shipping_country’, ‘change_default_checkout_country’ );
    function change_default_checkout_country() {
    return ‘US’; // Put Country code here

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.