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