diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-11-25 08:22:35 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-11-25 08:22:35 +0000 |
commit | c61784411988d36d9bbd93cd3a97e773990af342 (patch) | |
tree | 924e6e9dea2ba7b1eedb14d0c4b03a38aefdf179 /Postman/extra/no-localhost-mails.php | |
parent | 907ce8c044159ca8da6ccce3ec5362ac61e7c142 (diff) | |
download | Post-SMTP-c61784411988d36d9bbd93cd3a97e773990af342.zip |
Adding a folder
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; |