wpseek.com
WordPress开发者和主题制作者的搜索引擎



fs_ftp_connection_types › WordPress过滤钩子

Since4.6.0
已弃用n/a
apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context )
参数: (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
定义在:
文档:

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





源码

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