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