Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_email_confirm_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
671           ?>
672
673           <form class="admin-email-confirm-form" name="admin-email-confirm-form" action="<?php echo esc_url( site_url( 'wp-login.php?action=confirm_admin_email', 'login_post' ) ); ?>" method="post">
674                <?php
675                /**
676                 * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
677                 *
678                 * @since 5.3.0
679                 */
680                do_action( 'admin_email_confirm_form' );
681
682                wp_nonce_field( 'confirm_admin_email', 'confirm_admin_email_nonce' );
683
684                ?>
685                <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
686
687                <h1 class="admin-email__heading">
688                     <?php _e( 'Administration email verification' ); ?>
689                </h1>