llms_get_country_name( string $code )
Retrieve the country name by country code
Parameters Parameters
- $code
-
(string) (Required) Country code.
Return Return
(string)
Source Source
File: includes/functions/llms-functions-locale.php
function llms_get_country_name( $code ) { $countries = get_lifterlms_countries(); return isset( $countries[ $code ] ) ? $countries[ $code ] : $code; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |