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



load_script_textdomain_relative_path › WordPress过滤钩子

Since5.0.2
已弃用n/a
apply_filters( 'load_script_textdomain_relative_path', $relative, $src )
参数: (2)
  • (string|false) $relative The relative path of the script. False if it could not be determined.
    Required: Yes
  • (string) $src The full source URL of the script.
    Required: Yes
定义在:
文档:

Filters the relative path of scripts used for finding translation files.





源码

$relative = apply_filters( 'load_script_textdomain_relative_path', $relative, $src );