wp_get_installed_translations()获取安装语言

目录

描述

This function gets installed translations.It looks in the wp-content/languages directory for translations of themes or plugins .It returns array of language data.

wp_get_installed_translations() 描述

用法

 <?php wp_get_installed_translations$type ); ?> 

wp_get_installed_translations() 用法

参数

$type

(string) (必填) string is either themes or plugins or core required

默认值: None

wp_get_installed_translations() 参数

历史

  • 添加于 版本: 3.7.0

wp_get_installed_translations() 历史