Tagged: MailChimp
hi
in the advanced editor the mail chimp plugin is making problems with the ü ä ö characters – they are not accepted.
the plugin must be set to use UTF-8 characters to send to mail chimp.com
how to do this ?
than you guys
Hey Andreas!
Thank you for coming back.
I have added a filter to the core, will be in the next update.
At the moment you have to change the core file enfold\config-templatebuilder\avia-shortcodes\helper-mailchimp.php line 284:
replace
return $headers;
with
return apply_filters( 'avf_mailchimp_headers', $headers );
Add following code to Functions.php file of your child theme (or parent theme, if not using a child theme)- you can use Dashboard -> Appearance > Editor:
function my_avf_mailchimp_headers( $headers )
{
$headers['Content-type'] = 'charset=utf-8';
return $headers;
}
add_filter( 'avf_mailchimp_headers', 'my_avf_mailchimp_headers', 10, 1 );
Regards,
Günter