-
-
Save lkoudal/9dbc8927f983d37dd2f93b46a01f386e to your computer and use it in GitHub Desktop.
Help Debug wp_mail in WordPress
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 test_wp_mail($args) | |
| { | |
| $debug = "<pre>" . var_export($args, true) . "</pre>"; | |
| wp_die($debug); | |
| } | |
| add_filter('wp_mail', 'test_wp_mail'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment