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



fs_ftp_connection_types ›

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

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





源码

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