On this page
apply_filters( 'lang_codes', string[] $lang_codes, string $code )
Filters the language codes.
Parameters
$lang_codesstring[]-
Array of key/value pairs of language codes where key is the short version.
$codestring-
A two-letter designation of the language.
Source
File: wp-admin/includes/ms.php. View all references
$lang_codes = apply_filters( 'lang_codes', $lang_codes, $code );
Related
Used By
| Used By | Description |
|---|---|
| format_code_lang() wp-admin/includes/ms.php | Returns the language for a language code. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lang_codes