WordPress at a glance
filter is not described

lang_codes filter-hook . WP 3.0.0

Filters the language codes.

Usage

add_filter( 'lang_codes', 'filter_function_name_7961', 10, 2 );
function filter_function_name_7961( $lang_codes, $code ){
	// filter...

	return $lang_codes;
}
$lang_codes(string[])
Array of key/value pairs of language codes where key is the short version.
$code(string)
A two-letter designation of the language.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

format_code_lang()
lang_codes
wp-admin/includes/ms.php 594
$lang_codes = apply_filters( 'lang_codes', $lang_codes, $code );

Where the hook is used (in WP core)

Usage not found!