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

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

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.