If you want to change the order of countries, flags or maybe add custom countries you can hook into the following filter: wordpress_country_selector_available_countries_filter

$available_countries = apply_filters('wordpress_country_selector_available_countries_filter', $available_countries);

One thought on “Change the Order of Country Flags

  1. Md Imran says:

    Where i will write the above hook code in my theme. I want to add country and continent. I am using saasland theme. We are using WPML plugins is it possible to change the default continent / country list template to our own custom template? How we use WPML with country selector. I want to display only visitor country and flag on header/footer. once the user click on it it will go to country list page.

Leave a Reply

Your email address will not be published.