Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.