Sebastian
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Template Designer - WP HTML Mail] Disable for certain sender addressHi Julian,
thanks for your help. It seems like deactivating for a certain sender address is not possible. However I was able to solve the problem using [sender_plugin]. Thanks again!
Forum: Plugins
In reply to: [Email Template Designer - WP HTML Mail] Disable for certain sender addressI tried both methods but don’t get any results shown nor can I find an error-logfile with the keys. Can you check it on your test system please? This would be super helpful!
Forum: Plugins
In reply to: [Email Template Designer - WP HTML Mail] Disable for certain sender addressHi Julian,
thanks for your quick answer!This is the code I tried (of course i changed ‘[email protected]’ to the sender address)
add_filter( 'haet_mail_use_template', 'customize_template_usage', 10, 2 );
function customize_template_usage( $use_template, $mail ){
if( $mail['from'] == '[email protected]' )
return false;
return $use_template;
}Thanks for your quick answer! It’s on Classic Editor and only affecting the custom post type. Everywhere else screen options are working fine.
There are plenty of plugins installed. Will see if any of these are conflicting.