admin_email_confirm WordPress Action Hook
The admin_email_confirm hook is triggered when an administrator clicks on the "Confirm Email" link in the email confirmation message. This hook can be used to perform custom actions when an administrator confirms their email address. For example, you could use this hook to send a welcome message or update the user's account status.
do_action( 'admin_email_confirm', WP_Error $errors ) #
Fires before the admin email confirm form.
Contents
Parameters
- $errors
(WP_Error)A
WP_Error
object containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.
Source
File: wp-login.php
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |