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



wp_relative_upload_path › WordPress过滤钩子

Since2.9.0
已弃用n/a
› apply_filters( '_wp_relative_upload_path', $new_path, $path )
参数: (2)
  • () new_path Relative path to the file.
    Required: Yes
  • () path Full path to the file.
    Required: Yes
定义在:
文档:

Filters the relative path to an uploaded file.





源码

return apply_filters( '_wp_relative_upload_path', $new_path, $path );