login_header example


            $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );

            if ( $admin_email_check_interval > 0 ) {
                update_option( 'admin_email_lifespan', time() + $admin_email_check_interval );
            }

            wp_safe_redirect( $redirect_to );
            exit;
        }

        login_header( __( 'Confirm your administration email' ), '', $errors );

        /** * Fires before the admin email confirm form. * * @since 5.3.0 * * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid * credentials. Note that the error object may not contain any errors. */
        do_action( 'admin_email_confirm', $errors );

        
Home | Imprint | This part of the site doesn't use cookies.