On this page
apply_filters( 'filesystem_method_file', string $path, string $method )
Filters the path for a specific filesystem method class file.
Description
See also
Parameters
$pathstring-
Path to the specific filesystem method class file.
$methodstring-
The filesystem method to use.
Source
File: wp-admin/includes/file.php. View all references
$abstraction_file = apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method );
Related
Used By
| Used By | Description |
|---|---|
| WP_Filesystem() wp-admin/includes/file.php | Initializes and connects the WordPress Filesystem Abstraction classes. |
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/filesystem_method_file