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