Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Evan Herman

    (@eherman24)

    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

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi Carole,

    Let us know if that helps or if you need any more help.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi Carole,

    We haven’t heard back from you in awhile so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hello,

    The ability to customize the profile email validation messages and the email that gets sent out was added to the new update we just pushed out today.

    You will find it under Custom Messages.

    Enjoy!
    -Tracy

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customize Update Profile Email’ is closed to new replies.