llms_get_country_name( string $code )

Retrieve the country name by country code

Parameters Parameters


(string) (Required) Country code.

Top ↑

Return Return


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

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.