format_code_lang
format_code_lang ( $code = '' )
Parameters:- (string) code Optional. The two-letter language code. Default empty.
Returns:- (string) The language corresponding to $code if it exists. If it does not exist, then the first two letters of $code is returned.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Returns the language for a language code.