A WordPress-centric search engine for devs and theme authors



fs_ftp_connection_types ›

Since4.6.0
Deprecatedn/a
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
Parameters: (5)
  • (array) $types Types of connections.
    Required: Yes
  • (array) $credentials Credentials to connect with.
    Required: Yes
  • (string) $type Chosen filesystem method.
    Required: Yes
  • (object) $error 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 );