apply_filters( ‘lang_codes’, string[] $lang_codes, string $code )

In this article

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

$lang_codes = apply_filters( 'lang_codes', $lang_codes, $code );

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.