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



plugins_url › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( 'plugins_url', $url, $path, $plugin )
参数: (3)
  • (string) $url The complete URL to the plugins directory including scheme and path.
    Required: Yes
  • (string) $path Path relative to the URL to the plugins directory. Blank string if no path is specified.
    Required: Yes
  • (string) $plugin The plugin file path to be relative to. Blank string if no plugin is specified.
    Required: Yes
定义在:
文档:

Filters the URL to the plugins directory.





源码

return apply_filters( 'plugins_url', $url, $path, $plugin );