fs_ftp_connection_types

最后更新于:2021-11-26 10:24:29

apply_filters( ‘fs_ftp_connection_types’, string[] $types, array $credentials, string $type, bool|GC_Error $error, string $context )

Filters the connection types to output to the filesystem credentials form.

参数

$types

(string[])
Types of connections.

$credentials

(array)
Credentials to connect with.

$type

(string)
Chosen filesystem method.

$error

(bool|GC_Error)
Whether the current request has failed to connect, or an error object.

$context

(string)
Full path to the directory that is tested for being writable.

源文件

文件: gc-admin/includes/file.php

View on Trac