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:

Description

Returns the language for a language code.

Related Functions

do_shortcode_tag, format_to_post, format_to_edit, shortcode_atts, force_balance_tags

Top Google Results

User discussions

wpseek mobile