Skip to content

Instantly share code, notes, and snippets.

@espiat
Created January 17, 2024 10:50
Show Gist options
  • Save espiat/4cd9e47a8dfecd9e6c214f05d011c44e to your computer and use it in GitHub Desktop.
Save espiat/4cd9e47a8dfecd9e6c214f05d011c44e to your computer and use it in GitHub Desktop.
German Market Marketpress - Mailing für B2B zb unterbinden per Filter
<?php
add_filter( 'gm_email_confirm_order_send_it', function( $boolean, $order ) {
if ( /*deine Anweisung */ ) {
$boolean = false;
}
return $boolean;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment