filesystem_method

filesystem_method

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('filesystem_method') is found 1 times:

  • /wp-admin/includes/file.php line 2314
    	 * @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.
    	 */
    	return apply_filters( 'filesystem_method', $method, $args, $context, $allow_relaxed_file_ownership );
    }
    
    /**
     * Displays a form to the user to request for their FTP/SSH details in order
     * to connect to the filesystem.
     *