diff options
Diffstat (limited to 'Postman/extra/no-localhost-mails.php')
-rw-r--r-- | Postman/extra/no-localhost-mails.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Postman/extra/no-localhost-mails.php b/Postman/extra/no-localhost-mails.php new file mode 100644 index 0000000..0c45778 --- /dev/null +++ b/Postman/extra/no-localhost-mails.php @@ -0,0 +1,9 @@ +<?php +/** +* Plugin Name: No localhost emails +* Description: Overwrites WP pluggable function wp_mail +*/ + +if ( !function_exists( 'wp_mail' ) ) : + function wp_mail() {} // KILL EMAILS IN LOCALHOST +endif; |