wpseek.com
A WordPress-centric search engine for devs and theme authors



lang_codes › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'lang_codes', $lang_codes, $code )
Parameters: (2)
  • (string[]) $lang_codes Array of key/value pairs of language codes where key is the short version.
    Required: Yes
  • (string) $code A two-letter designation of the language.
    Required: Yes
Defined at:
Codex:

Filters the language codes.





Source

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