BACK TO DIRECTORY

WP Country

by andreyk

0.0
(0 ratings)

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.

Plugin Details

Active Installs
90
Total Downloads
4,060
Version
0.2
Requires WP
3.6
Requires PHP
Tested Up To
4.5.33
Added
2013-12-28
Last Updated
2016-04-16 12:27am GMT

Ratings

5
0
4
0
3
0
2
0
1
0