acfcs_get_country_name()

Description

You can get the name of a country by using a simple function with the country code provided.

Usage

  1. $country_name = acfcs_get_country_name( 'NL' );

Returns

(string) Netherlands

Arguments

  • (string) - $country_code (required)
    Country code (exactly 2 characters).

Defined in

inc/acfcs-functions.php - line 204

Used in