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



load_script_translation_file › WordPress过滤钩子

Since5.0.2
已弃用n/a
apply_filters( 'load_script_translation_file', $file, $handle, $domain )
参数: (3)
  • (string|false) $file Path to the translation file to load. False if there isn't one.
    Required: Yes
  • (string) $handle Name of the script to register a translation domain to.
    Required: Yes
  • (string) $domain The text domain.
    Required: Yes
定义在:
文档:

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





源码

$file = apply_filters( 'load_script_translation_file', $file, $handle, $domain );