Uma área de pesquisa sobre o WordPress para devs e autores do tema



fs_ftp_connection_types ›

Desde4.6.0
Obsoleton/a
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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