This file contains hidden or 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
| Alabama|AL | |
| Alaska|AK | |
| American Samoa|AS | |
| Arizona|AZ | |
| Arkansas|AR | |
| California|CA | |
| Colorado|CO | |
| Connecticut|CT | |
| Delaware|DE | |
| District of Columbia|DC |
This file contains hidden or 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
| United States|US | |
| Canada|CA | |
| Afghanistan|AF | |
| Aland Islands|AX | |
| Albania|AL | |
| Algeria|DZ | |
| Andorra|AD | |
| Angola|AO | |
| Anguilla|AI | |
| Antarctica|AQ |
This file contains hidden or 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
| <?php | |
| // Yoink: https://community.gravityforms.com/t/how-to-display-us-as-the-first-choice-but-leave-the-default-country-field-blank/17226/2 | |
| /** | |
| * Set US to top of countries list in Gravity Forms. | |
| */ | |
| // Normal way | |
| add_filter( 'gform_countries', 'modify_countries_list' ); |
OlderNewer