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
104      <tr class="form-field form-required">
105           <th scope="row"><label for="email"><?php _e('E-mail (required)') ?></label></th>
106           <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
107      </tr>
108      <tr class="form-field">
109           <th scope="row"><label for="url"><?php _e('Website') ?></label></th>
110           <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
111      </tr>
112
113 <?php if ( apply_filters('show_password_fields', true) ) : ?>
114      <tr class="form-field form-required">
115           <th scope="row"><label for="pass1"><?php _e('Password (twice)') ?> </label></th>
116           <td><input name="pass1" type="password" id="pass1" autocomplete="off" />
117           <br />
118           <input name="pass2" type="password" id="pass2" autocomplete="off"/></td>
119      </tr>
120 <?php endif; ?>
121
122      <tr class="form-field">