Filter hook 'filesystem_method'

in WP Core File wp-admin/includes/file.php at line 2338

Description

Filters the filesystem method to use.

Occurrences

Filename Line Number
wp-admin/includes/file.php 2338

Parameters

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

PHP Doc

/**
	 * Filters the filesystem method to use.
	 *
	 * @since 2.6.0
	 *
	 * @param string $method                       Filesystem method to return.
	 * @param array  $args                         An array of connection details for the method.
	 * @param string $context                      Full path to the directory that is tested for being writable.
	 * @param bool   $allow_relaxed_file_ownership Whether to allow Group/World writable.
	 */