conditional sending
-
Hi
I used other mail sender previously anda I used the following code to avoid sending my local install or from a subdirectory stage install.add_filter('wp_mail','disabling_emails', 10,1); function disabling_emails( $args ){ unset ( $args['to'] ); return $args; }
This does not work here, can you hint me to fins a solution?
Thanks
Alain
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘conditional sending’ is closed to new replies.