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
667           ?>
668
669           <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">
670                <?php
671                /**
672                 * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
673                 *
674                 * @since 5.3.0
675                 */
676                do_action( 'admin_email_confirm_form' );
677
678                wp_nonce_field( 'confirm_admin_email', 'confirm_admin_email_nonce' );
679
680                ?>
681                <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
682
683                <h1 class="admin-email__heading">
684                     <?php _e( 'Administration email verification' ); ?>
685                </h1>