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.
Active installations100+
Weekly downloads
13-23.53%
Version0.2
Last updated4/16/2016
WordPress version3.6
Tested up to4.5.32
Tags
countries listcountrydropdownselect