wpseek.com
A WordPress-centric search engine for devs and theme authors



filesystem_method › WordPress Filter Hooks

Since2.6.0
Deprecatedn/a
apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership )
Parameters: (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
Defined at:
Codex:

Filters the filesystem method to use.





Source

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