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
1087       * @since 2.9.0
1088       *
1089       * @param array  $types       Types of connections.
1090       * @param array  $credentials Credentials to connect with.
1091       * @param string $type        Chosen filesystem method.
1092       * @param object $error       Error object.
1093       * @param string $context     Full path to the directory that is tested
1094       *                            for being writable.
1095       */
1096      $types = apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context );
1097
1098 ?>
1099 <script type="text/javascript">
1100 <!--
1101 jQuery(function($){
1102      jQuery("#ssh").click(function () {
1103           jQuery("#ssh_keys").show();
1104      });
1105      jQuery("#ftp, #ftps").click(function () {