Last active
May 15, 2020 19:30
-
-
Save tobeyadr/5a0ddcfe725168b82db496aa3c228e35 to your computer and use it in GitHub Desktop.
Force any outgoing emails from Groundhogg to the go to the given address
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Force any outgoing emails from Groundhogg to the go to the given address | |
add_filter( 'groundhogg/email/to', function ( $to_address ){ | |
return 'email.to.force.to@example.com'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment