apply_filters( 'fs_ftp_connection_types', array $types , array $credentials , string $type , object $error , string $context )
Filters the connection types to output to the filesystem credentials form.
Description Description
Parameters Parameters
- $types
-
(array) Types of connections.
- $credentials
-
(array) Credentials to connect with.
- $type
-
(string) Chosen filesystem method.
- $error
-
(object) Error object.
- $context
-
(string) Full path to the directory that is tested for being writable.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.6.0 | The $context parameter default changed from false to an empty string. |
2.9.0 | Introduced. |