{"id":9476141,"date":"2017-09-07T14:00:55","date_gmt":"2017-09-07T14:00:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/issues-with-a-custom-mailpoet-shortcode\/"},"modified":"2017-09-07T14:00:55","modified_gmt":"2017-09-07T14:00:55","slug":"issues-with-a-custom-mailpoet-shortcode","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/issues-with-a-custom-mailpoet-shortcode\/","title":{"rendered":"Issues with a custom MailPoet shortcode"},"content":{"rendered":"<p>Hello!<\/p>\n<p>I added support for Event Calendar Newsletter pretty soon after the beta started, but it seems in the latest version that there&#8217;s some kind of internal caching happening, or something modifying queries being run.  The preview, test email and what&#8217;s actually sent can be different depending on whether you preview before sending a test email (for example).<\/p>\n<p>Has some kind of either cache of the newsletter output or something to modify queries that happen in a custom MailPoet shortcode (using the <code>mailpoet_newsletter_shortcode<\/code> filter)?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-9476141","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9476141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9476141\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9476141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}