Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: register_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
740           <label for="user_email"><?php _e('E-mail') ?><br />
741           <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" /></label>
742      </p>
743      <?php
744      /**
745       * Fires following the 'E-mail' field in the user registration form.
746       *
747       * @since 2.1.0
748       */
749      do_action( 'register_form' );
750      ?>
751      <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p>
752      <br class="clear" />
753      <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
754      <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Register'); ?>" /></p>
755 </form>
756
757 <p id="nav">
758 <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |