WordPress at Your Fingertips
filter is not described

filesystem_method filter-hook . WP 2.6.0

Filters the filesystem method to use.


add_filter( 'filesystem_method', 'filter_function_name_8596', 10, 4 );
function filter_function_name_8596( $method, $args, $context, $allow_relaxed_file_ownership ){
	// filter...

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

Where the hook is called

wp-admin/includes/file.php 2064
return apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership );

Where in WP core the hook is used WordPress

Usage not found.