WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
1102 | * @since 2.9.0 |
1103 | * |
1104 | * @param array $types Types of connections. |
1105 | * @param array $credentials Credentials to connect with. |
1106 | * @param string $type Chosen filesystem method. |
1107 | * @param object $error Error object. |
1108 | * @param string $context Full path to the directory that is tested |
1109 | * for being writable. |
1110 | */ |
1111 | $types = apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context ); |
1112 |
|
1113 | ?> |
1114 | <script type="text/javascript"> |
1115 | <!-- |
1116 | jQuery(function($){ |
1117 | jQuery("#ssh").click(function () { |
1118 | jQuery("#ssh_keys").show(); |
1119 | }); |
1120 | jQuery("#ftp, #ftps").click(function () { |