Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: login_form_bottom

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
568       * Filters content to display at the bottom of the login form.
569       *
570       * The filter evaluates just preceding the closing form tag element.
571       *
572       * @since 3.0.0
573       *
574       * @param string $content Content to display. Default empty.
575       * @param array  $args    Array of login form arguments.
576       */
577      $login_form_bottom = apply_filters( 'login_form_bottom', '', $args );
578
579      $form = '
580           <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post">
581                ' . $login_form_top . '
582                <p class="login-username">
583                     <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label>
584                     <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" />
585                </p>
586                <p class="login-password">