load_script_translations
apply_filters( ‘load_script_translations’, string $tran…
apply_filters( ‘load_script_translations’, string $translations, string $file, string $handle, string $domain )
筛选挂钩:筛选给定文件、脚本句柄和文本域的脚本翻译。
Filter Hook: Filters script translations for the given file, script handle and text domain.
筛选挂钩:筛选给定文件、脚本句柄和文本域的脚本翻译。
Filter Hook: Filters script translations for the given file, script handle and text domain.
目录锚点:#参数#源码
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $translations | (string) | JSON编码的翻译数据。 |
| $file | (string) | 加载的翻译文件的路径。 |
| $handle | (string) | 要向其注册翻译域的脚本的名称。 |
| $domain | (string) | 文本域。 |
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 5.0.2 | wp-includes/l10n.php:1108 | 1 | 0 |
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!