Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: show_password_fields

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
383      </tr>
384 <?php
385 /**
386  * Filter the display of the password fields.
387  *
388  * @since 1.5.1
389  *
390  * @param bool $show Whether to show the password fields. Default true.
391  */
392 if ( apply_filters( 'show_password_fields', true ) ) : ?>
393      <tr class="form-field form-required user-pass1-wrap">
394           <th scope="row">
395                <label for="pass1">
396                     <?php _e( 'Password' ); ?>
397                     <span class="description hide-if-js"><?php _e( '(required)' ); ?></span>
398                </label>
399           </th>
400           <td>
401                <input class="hidden" value=" " /><!-- #24364 workaround -->