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
1329                     </div>
1330                </div>
1331                <?php
1332
1333                /**
1334                 * Fires following the 'Password' field in the login form.
1335                 *
1336                 * @since 2.1.0
1337                 */
1338                do_action( 'login_form' );
1339
1340                ?>
1341                <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>
1342                <p class="submit">
1343                     <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Log In' ); ?>" />
1344                     <?php
1345
1346                     if ( $interim_login ) {
1347                          ?>