Created
June 22, 2015 10:18
-
-
Save thefuxia/1f4e5950bb032992ff0f to your computer and use it in GitHub Desktop.
Replace the pluggable function wp_mail() with a dummy.
This file contains 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
<?php | |
// Plugin Name: Mock wp_mail() | |
function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() ) { | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment