WP Country

WP Country Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,877 downloads
WP Country Icon

Try plugin: WP Country

We'll create fresh WordPress site with WP Country installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About 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.

0


0


0


0


0

updated: 8 years ago
since: 10 years ago
author: Andrey K.

Description

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.