Last active
March 7, 2018 14:26
-
-
Save dsebao/e5089392060873a9afa7ec3b459f671a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function action_wp_mail_failed($wp_error) | |
| { | |
| return error_log(print_r($wp_error, true)); | |
| } | |
| // add the action | |
| add_action('wp_mail_failed', 'action_wp_mail_failed', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment