Uma área de pesquisa sobre o WordPress para devs e autores do tema



filesystem_method ›

Desde2.6.0
Obsoleton/a
apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership )
Parâmetros: (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
Definido em:
Codex:

Filters the filesystem method to use.





Fonte

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