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
660
661           /**
662            * Fires before the admin email confirm form.
663            *
664            * @since 5.3.0
665            *
666            * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid
667            *                         credentials. Note that the error object may not contain any errors.
668            */
669           do_action( 'admin_email_confirm', $errors );
670
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