do_action( 'wp_mail_failed', WP_Error $error )
Fires after a phpmailerException is caught.
Parameters
- $error
-
A WP_Error object with the phpmailerException message, and an array containing the mail recipient, subject, message, headers, and attachments.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Introduced. |