2020-05-01 / 2598阅 / 悠然
Get all available languages based>
The default directory is WP_LANG_DIR.
(string)
(Optional)
A directory to search for language files. Default WP_LANG_DIR.
Default value: null
(string[]) An array of language codes or an empty array if no languages are present. Language codes are formed by stripping the .mo extension from the language file names.