Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: login_language_dropdown_args

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
346                          );
347
348                          /**
349                           * Filters default arguments for the Languages select input on the login screen.
350                           *
351                           * @since 5.9.0
352                           *
353                           * @param array $args Arguments for the Languages select input on the login screen.
354                           */
355                          wp_dropdown_languages( apply_filters( 'login_language_dropdown_args', $args ) );
356                          ?>
357
358                          <?php if ( $interim_login ) { ?>
359                               <input type="hidden" name="interim-login" value="1" />
360                          <?php } ?>
361
362                          <?php if ( isset( $_GET['redirect_to'] ) && '' !== $_GET['redirect_to'] ) { ?>
363                               <input type="hidden" name="redirect_to" value="<?php echo esc_url_raw( $_GET['redirect_to'] ); ?>" />
364                          <?php } ?>