apply_filters( ‘filesystem_method’, string $method, array $args, string $context, bool $allow_relaxed_file_ownership )

In this article

Filters the filesystem method to use.

Parameters

$methodstring
Filesystem method to return.
$argsarray
An array of connection details for the method.
$contextstring
Full path to the directory that is tested for being writable.
$allow_relaxed_file_ownershipbool
Whether to allow Group/World writable.

Source

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

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

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