lang_codes

过滤钩子
apply_filters( 'lang_codes', $lang_codes, $code )
参数
  • (string[]) $lang_codes Array of key/value pairs of language codes where key is the short version.
    Required:
  • (string) $code A two-letter designation of the language.
    Required:
定义位置
相关勾子
manage_comments_navplugin_loadedshake_error_codesmenu_orderplugins_loaded
相关方法
balancetagswp_tag_cloudget_commentsapply_shortcodesclean_blog_cacheclean_page_cache
引入
MU (3.0.0)
弃用
-

过滤语言代码。

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