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 |
---|---|
297 | <tr> |
298 | <th scope="row"><?php _e('E-mail') ?></th> |
299 | <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td> |
300 | </tr> |
301 | <tr> |
302 | <th scope="row"><?php _e('Website') ?></th> |
303 | <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td> |
304 | </tr> |
305 | <?php |
306 | $show_password_fields = apply_filters('show_password_fields', true); |
307 | if ( $show_password_fields ) : |
308 | ?> |
309 | <tr> |
310 | <th scope="row"><?php _e('Password (twice)') ?> </th> |
311 | <td><input name="pass1" type="password" id="pass1" /> |
312 | <br /> |
313 | <input name="pass2" type="password" id="pass2" /></td> |
314 | </tr> |
315 | <?php endif; ?> |