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 |
|---|---|
| 389 | /** |
| 390 | * Filters default arguments for the Languages select input on the login screen. |
| 391 | * |
| 392 | * The arguments get passed to the wp_dropdown_languages() function. |
| 393 | * |
| 394 | * @since 5.9.0 |
| 395 | * |
| 396 | * @param array $args Arguments for the Languages select input on the login screen. |
| 397 | */ |
| 398 | wp_dropdown_languages( apply_filters( 'login_language_dropdown_args', $args ) ); |
| 399 | ?> |
| 400 | |
| 401 | <?php if ( $interim_login ) { ?> |
| 402 | <input type="hidden" name="interim-login" value="1" /> |
| 403 | <?php } ?> |
| 404 | |
| 405 | <?php if ( isset( $_GET['redirect_to'] ) && '' !== $_GET['redirect_to'] ) { ?> |
| 406 | <input type="hidden" name="redirect_to" value="<?php echo sanitize_url( $_GET['redirect_to'] ); ?>" /> |
| 407 | <?php } ?> |