Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: login_form

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
1377                     </div>
1378                </div>
1379                <?php
1380
1381                /**
1382                 * Fires following the 'Password' field in the login form.
1383                 *
1384                 * @since 2.1.0
1385                 */
1386                do_action( 'login_form' );
1387
1388                ?>
1389                <p class="forgetmenot"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <label for="rememberme"><?php esc_html_e( 'Remember Me' ); ?></label></p>
1390                <p class="submit">
1391                     <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Log In' ); ?>" />
1392                     <?php
1393
1394                     if ( $interim_login ) {
1395                          ?>