Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AutomateWoo - Blacklist an email address or multiple emails based on domain
// this filter was added in AW 3.6.0
add_filter( 'automatewoo/mailer/blacklist', function( $blacklist ){
$blacklist[] = ''; // block a single email
$blacklist[] = ''; // block all emails from a domain
return $blacklist;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment