wpseek.com
WordPress开发者和主题制作者的搜索引擎



load_script_translations › WordPress过滤钩子

Since5.0.2
已弃用n/a
› apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
参数: (4)
  • () translations JSON-encoded translation data.
    Required: Yes
  • () file Path to the translation file that was loaded.
    Required: Yes
  • () handle Name of the script to register a translation domain to.
    Required: Yes
  • () domain The text domain.
    Required: Yes
定义在:
文档:

Filters script translations for the given file, script handle and text domain.





源码

return apply_filters( 'load_script_translations', $translations, $file, $handle, $domain );