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
96 </fieldset>
97 <br clear="all" />
98 <fieldset>
99 <legend><?php _e('About Yourself'); ?></legend>
100 <p class="desc"><?php _e('Share a little biographical information. '); ?></p>
101 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
102 </fieldset>
103
104 <?php
105 $show_password_fields = apply_filters('show_password_fields', true);
106 if ( $show_password_fields ) :
107 ?>
108 <fieldset>
109 <legend><?php _e('Update Your Password'); ?></legend>
110 <p class="desc"><?php _e('If you would like to change your password type a new one twice below. Otherwise leave this blank.'); ?></p>
111 <p><label><?php _e('New Password:'); ?><br />
112 <input type="password" name="pass1" size="16" value="" />
113 </label></p>
114 <p><label><?php _e('Type it one more time:'); ?><br />