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
1315                     </div>
1316                </div>
1317                <?php
1318
1319                /**
1320                 * Fires following the 'Password' field in the login form.
1321                 *
1322                 * @since 2.1.0
1323                 */
1324                do_action( 'login_form' );
1325
1326                ?>
1327                <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>
1328                <p class="submit">
1329                     <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Log In' ); ?>" />
1330                     <?php
1331
1332                     if ( $interim_login ) {
1333                          ?>