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
81 </fieldset>
82 <br clear="all" />
83 <fieldset>
84 <legend><?php _e('About yourself'); ?></legend>
85 <p class="desc"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p>
86 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
87 </fieldset>
88
89 <?php
90 $show_password_fields = apply_filters('show_password_fields', true);
91 if ( $show_password_fields ) :
92 ?>
93 <fieldset>
94 <legend><?php _e('Update Your Password'); ?></legend>
95 <p class="desc"><?php _e('If you would like to change your password type a new one twice below. Otherwise leave this blank.'); ?></p>
96 <p><label><?php _e('New Password:'); ?><br />
97 <input type="password" name="pass1" size="16" value="" />
98 </label></p>
99 <p><label><?php _e('Type it one more time:'); ?><br />