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



filesystem_method_file › WordPress过滤钩子

Since2.6.0
已弃用n/a
apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method )
参数: (2)
  • (string) $path Path to the specific filesystem method class file.
    Required: Yes
  • (string) $method The filesystem method to use.
    Required: Yes
定义在:
文档:

Filters the path for a specific filesystem method class file.





源码

$abstraction_file = apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method );