apply_filters( 'lang_codes', string[] $lang_codes, string $code )
Filters the language codes.
Parameters
- $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.
Source
File: wp-admin/includes/ms.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lang_codes