Created
January 17, 2024 10:50
-
-
Save espiat/4cd9e47a8dfecd9e6c214f05d011c44e to your computer and use it in GitHub Desktop.
German Market Marketpress - Mailing für B2B zb unterbinden per Filter
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 | |
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