Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: fs_ftp_connection_types

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1132       * @since 2.9.0
1133       *
1134       * @param array  $types       Types of connections.
1135       * @param array  $credentials Credentials to connect with.
1136       * @param string $type        Chosen filesystem method.
1137       * @param object $error       Error object.
1138       * @param string $context     Full path to the directory that is tested
1139       *                            for being writable.
1140       */
1141      $types = apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context );
1142
1143 ?>
1144 <script type="text/javascript">
1145 <!--
1146 jQuery(function($){
1147      jQuery("#ssh").click(function () {
1148           jQuery("#ssh_keys").show();
1149      });
1150      jQuery("#ftp, #ftps").click(function () {