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



filesystem_method › WordPress过滤钩子

Since2.6.0
已弃用n/a
apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership )
参数: (4)
  • (string) $method Filesystem method to return.
    Required: Yes
  • (array) $args An array of connection details for the method.
    Required: Yes
  • (string) $context Full path to the directory that is tested for being writable.
    Required: Yes
  • (bool) $allow_relaxed_file_ownership Whether to allow Group/World writable.
    Required: Yes
定义在:
文档:

Filters the filesystem method to use.





源码

return apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership );