Adding Support for Editable Regions (1 post)

  1. dennissmolek
    Posted 3 years ago #

    I noticed that this plugin doesn't have support for editable regions in templates which I found really weird.

    We use mailchimp with a hand full of regions and I thought it would be great to add to this so I went ahead and hacked it up a bit and got it working.

    To get this working simply copy the code from: http://pastebin.com/VMxkMSFS

    And replace the static function sendEmail on line 1665

    then to pass it the $html array is just the editable region and the content so

    $html = array('message' => 'Blah Blah');

    Now I haven't done a ton of testing on this but so far its letting my regular e-mails and my special array emails through and its working so YAY!

    For people wanting to see what I exactly changed its around line 113-161 of that pastebin


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wpMandrill
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic