llms_get_country_name( string $code )

Retrieve the country name by country code


Parameters Parameters

$code

(string) (Required) Country code.


Top ↑

Return Return

(string)


Top ↑

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;
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.