wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



fs_ftp_connection_types › WordPress Filter Hooks

Seit4.6.0
Veraltetn/v
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
Parameter: (5)
  • (string[]) $types Types of connections.
    Erforderlich: Ja
  • (array) $credentials Credentials to connect with.
    Erforderlich: Ja
  • (string) $type Chosen filesystem method.
    Erforderlich: Ja
  • (bool|WP_Error) $error Whether the current request has failed to connect, or an error object.
    Erforderlich: Ja
  • (string) $context Full path to the directory that is tested for being writable.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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