action hook ‘wp_mail_failed’ not supported
-
Dear all,
Since WordPress Version 4.4.0, the wp_mail function supports an action called ‘wp_mail_failed’. It is very useful in debugging since when we call add_action( ‘wp_mail_failed’, ‘my_debug_function ), we get a WP_Error object with the fail reason. WordPress developers have asked for this feature for a long time.
I am now facing the same issue with the sendgrid plugin. It’s own wp_mail function overrides the original wp_mail from wordpress but does not support the wp_mail_failed action. It is a veritable step back for us developers. Would you please considering adding this feature in a future release. Having to hack sendgrid’s plugin to add this functionality is a nuisance.
Thank you so much.
- The topic ‘action hook ‘wp_mail_failed’ not supported’ is closed to new replies.