filesystem_method_file WordPress Filter Hook

The filesystem_method_file hook is used to set the filesystem method used to read and write files. This hook is called during the bootstrap process, after the theme is loaded.

apply_filters( 'filesystem_method_file', string $path, string $method ) #

Filters the path for a specific filesystem method class file.


Description

Top ↑

See also


Top ↑

Parameters

$path

(string)Path to the specific filesystem method class file.

$method

(string)The filesystem method to use.


Top ↑

Source

File: wp-admin/includes/file.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.