summaryrefslogtreecommitdiff
path: root/Postman/extra/no-localhost-mails.php
blob: 0c457784b159a04b9e1461d3889232a068b4dae9 (plain)
1
2
3
4
5
6
7
8
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;