wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



fs_ftp_connection_types › Filtr WordPress Hooks

Od4.6.0
Przestarzałyn/a
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
Parametry: (5)
  • (string[]) $types Types of connections.
    Wymagane: Tak
  • (array) $credentials Credentials to connect with.
    Wymagane: Tak
  • (string) $type Chosen filesystem method.
    Wymagane: Tak
  • (bool|WP_Error) $error Whether the current request has failed to connect, or an error object.
    Wymagane: Tak
  • (string) $context Full path to the directory that is tested for being writable.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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