wpseek.com
A WordPress-centric search engine for devs and theme authors



fs_ftp_connection_types › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
Parameters: (5)
  • (string[]) $types Types of connections.
    Required: Yes
  • (array) $credentials Credentials to connect with.
    Required: Yes
  • (string) $type Chosen filesystem method.
    Required: Yes
  • (bool|WP_Error) $error Whether the current request has failed to connect, or an error object.
    Required: Yes
  • (string) $context Full path to the directory that is tested for being writable.
    Required: Yes
Defined at:
Codex:

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





Source

$types = apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context );