Hi Carole,
There is a way, but it involves some coding.
You can see that we have a number of filters setup on the wp_mail() function allowing you to alter who is getting the emails, the subject line and the email content:
https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender/blob/55c4da97c02fc91a53f8f885a1691996825d63bd/public/partials/ajax/class.public_ajax.php#L183
You’ll want to use the yikes-mailchimp-update-email-content
filter, which has 2 parameters. $email_content
and $update_link
.
You’ll want to alter the $email_content variable, which contains the content of the emails sent out from within our plugin.
Filtering the email content may look something like this:
function filter_yikes_update_email( $content, $link ) {
$content = 'This is your new content';
return $content;
}
add_filter( 'yikes-mailchimp-update-email-content', 'filter_yikes_update_email', 10, 2 );
Which would then send an email with the content ‘This is your new content’. At the moment there is no additional parameters, such as the user name or user email address – but you should be able to successfully alter the content as needed.
If need be we can flesh out the filters a bit more to allow for further customization.
Thanks,
Evan