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
474      <tr>
475           <th scope="row"><?php _e('E-mail (required)') ?></th>
476           <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
477      </tr>
478      <tr>
479           <th scope="row"><?php _e('Website') ?></th>
480           <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
481      </tr>
482
483 <?php if ( apply_filters('show_password_fields', true) ) : ?>
484      <tr>
485           <th scope="row"><?php _e('Password (twice)') ?> </th>
486           <td><input name="pass1" type="password" id="pass1" />
487           <br />
488           <input name="pass2" type="password" id="pass2" /></td>
489      </tr>
490 <?php endif; ?>
491
492      <tr>