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 |
|---|---|
| 224 | <tr> |
| 225 | <th scope="row"><?php _e('Yahoo IM:') ?> </th> |
| 226 | <td> <input type="text" name="newuser_yim" id="newuser_yim2" value="<?php echo $profiledata->user_yim ?>" /> </td> |
| 227 | </tr> |
| 228 | <tr> |
| 229 | <th scope="row"><?php _e('Profile:') ?></th> |
| 230 | <td><textarea name="user_description" rows="5" id="textarea2" style="width: 99%; "><?php echo $profiledata->user_description ?></textarea></td> |
| 231 | </tr> |
| 232 | <?php |
| 233 | $show_password_fields = apply_filters('show_password_fields', true); |
| 234 | if ( $show_password_fields ) : |
| 235 | ?> |
| 236 | <tr> |
| 237 | <th scope="row"><?php _e('New <strong>Password</strong> (Leave blank to stay the same.)') ?></th> |
| 238 | <td><input type="password" name="pass1" size="16" value="" /> |
| 239 | <br /> |
| 240 | <input type="password" name="pass2" size="16" value="" /></td> |
| 241 | </tr> |
| 242 | <?php endif; ?> |