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

Filters the filesystem method to use.


Parameters

$method string
Filesystem method to return.
$args array
An array of connection details for the method.
$context string
Full path to the directory that is tested for being writable.
$allow_relaxed_file_ownership bool
Whether to allow Group/World writable.

Top ↑

Source

File: wp-admin/includes/file.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes

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