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
162 </fieldset>
163 <br clear="all" />
164 <fieldset>
165 <legend><?php _e('About the user'); ?></legend>
166 <p class="desc"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p>
167 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
168 </fieldset>
169
170 <?php
171 $show_password_fields = apply_filters('show_password_fields', true);
172 if ( $show_password_fields ) :
173 ?>
174 <fieldset>
175 <legend><?php _e("Update User's Password"); ?></legend>
176 <p class="desc"><?php _e("If you would like to change the user's password type a new one twice below. Otherwise leave this blank."); ?></p>
177 <p><label><?php _e('New Password:'); ?><br />
178 <input type="password" name="pass1" size="16" value="" />
179 </label></p>
180 <p><label><?php _e('Type it one more time:'); ?><br />