Replace the pluggable function wp_mail() with a dummy.
<?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