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



filesystem_method_file › WordPress Filter Hooks

Since2.6.0
Deprecatedn/a
apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method )
Parameters: (2)
  • (string) $path Path to the specific filesystem method class file.
    Required: Yes
  • (string) $method The filesystem method to use.
    Required: Yes
Defined at:
Codex:

Filters the path for a specific filesystem method class file.





Source

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