WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
339 | <h3><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></h3> |
340 |
|
341 | <table class="form-table"> |
342 | <tr> |
343 | <th><label for="description"><?php _e('Biographical Info'); ?></label></th> |
344 | <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></td> |
345 | </tr> |
346 |
|
347 | <?php |
348 | $show_password_fields = apply_filters('show_password_fields', true); |
349 | if ( $show_password_fields ) : |
350 | ?> |
351 | <tr> |
352 | <th><label for="pass1"><?php _e('New Password'); ?></label></th> |
353 | <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br /> |
354 | <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <?php _e("Type your new password again."); ?><br /> |
355 | <?php if ( $is_profile_page ): ?> |
356 | <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> |
357 | <p><?php _e('Hint: Your password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).'); ?></p> |