Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_email_confirm

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
633
634           /**
635            * Fires before the admin email confirm form.
636            *
637            * @since 5.3.0
638            *
639            * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid
640            *                         credentials. Note that the error object may not contain any errors.
641            */
642           do_action( 'admin_email_confirm', $errors );
643
644           ?>
645
646           <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">
647                <?php
648                /**
649                 * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
650                 *
651                 * @since 5.3.0