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 |
|---|---|
| 179 | if ($edituser->user_idmode=="namefl") |
| 180 | echo ' selected="selected"'; ?>><?php echo $edituser->user_firstname." ".$edituser->user_lastname ?></option> |
| 181 | <option value="namelf"<?php |
| 182 | if ($edituser->user_idmode=="namelf") |
| 183 | echo ' selected="selected"'; ?>><?php echo $edituser->user_lastname." ".$edituser->user_firstname ?></option> |
| 184 | </select> |
| 185 | </td> |
| 186 | </tr> |
| 187 | <?php |
| 188 | $show_password_fields = apply_filters('show_password_fields', true); |
| 189 | if ( $show_password_fields ) : |
| 190 | ?> |
| 191 | <tr> |
| 192 | <th scope="row"><?php _e('New <strong>Password</strong> (Leave blank to stay the same.)') ?></th> |
| 193 | <td><input type="password" name="pass1" size="16" value="" /> |
| 194 | <br /> |
| 195 | <input type="password" name="pass2" size="16" value="" /></td> |
| 196 | </tr> |
| 197 | <?php endif; ?> |