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 |
---|---|
378 | </tr> |
379 | <?php |
380 | /** |
381 | * Filter the display of the password fields. |
382 | * |
383 | * @since 1.5.1 |
384 | * |
385 | * @param bool True or false, based on if you want to show the password fields. Default is true. |
386 | */ |
387 | if ( apply_filters( 'show_password_fields', true ) ) : ?> |
388 | <tr class="form-field form-required"> |
389 | <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(required)'); ?></span></label></th> |
390 | <td> |
391 | <input class="hidden" value=" " /><!-- #24364 workaround --> |
392 | <input name="pass1" type="password" id="pass1" autocomplete="off" /> |
393 | </td> |
394 | </tr> |
395 | <tr class="form-field form-required"> |
396 | <th scope="row"><label for="pass2"><?php _e('Repeat Password'); ?> <span class="description"><?php /* translators: password input field */_e('(required)'); ?></span></label></th> |