WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP Country

Provides WP_Country PHP class to get countries list as an array and dropdown country select for use in other plugins and themes.

To use the WP Country plugin in your theme or plugin add global $wp_country; into your theme or plugin PHP file, then:

  • $wp_country->countries_list() is an array of country names

  • $wp_country->dropdown() prints or returns countries as dropdown HTML tag.

  • $wp_country->name($alpha2) returns the name of a country by it's 2-character code.

Russian translation is available now.

Requires: 3.6 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-28
Downloads: 227

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.