WordPress at a glance
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_88', 10, 4 );
function filter_function_name_88( $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 1875
return apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership );

Where the hook is used (in WP core)

Использование не найдено.