{"id":400932,"date":"2024-05-22T08:00:00","date_gmt":"2024-05-22T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/automated-emails\/"},"modified":"2024-05-23T05:35:00","modified_gmt":"2024-05-23T05:35:00","slug":"automated-emails","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/automated-emails\/","title":{"rendered":"Automated Emails: Send custom emails on actions like post is published or updated"},"content":{"rendered":"<p>This plugin does one simple thing: it sends custom emails when something happens on your site, like when a new post has been published or when an existing post has been moved to the trash.<\/p>\n<p><strong>Features<\/strong><\/p>\n<ul>\n<li>6 events:\n<ul>\n<li>Post Status Change (+ 3 presets) \u2013 when the status of a post has changed.<\/li>\n<li>Post Updated (+1 preset) \u2013 when a post has been updated in the database.<\/li>\n<\/ul>\n<\/li>\n<li>Multiple recipients: Send to multiple recipients, like the post author or the user making the cahnges<\/li>\n<li>Smart placeholders: Add post or user data in your custom emails (subject and body)\n<ul>\n<li>6 post values: title, title (raw), content, content (raw), id, url<\/li>\n<li>3 user values: public name, email, id<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Adding Data to the subject and body<\/strong><br \/>\nThis plugin allows you to add the data for current post and\/or user to the email subject and body. To do so, you have to use the format: ((dataType.value | DataID))<br \/>\n    For example:<br \/>\n    Hello, John Doe! would be written as: Hello, ((user.nameDisplay | PostAuthor))<\/p>\n<pre><code>Here are the available values:\n    * post title: ((post.title | UpdatedPost))\n    * post title, unfiltered: ((post.titleRaw | UpdatedPost))\n    * post content: ((post.content | UpdatedPost))\n    * post content, unfiltered: ((post.contentRaw | UpdatedPost))\n    * post id: ((post.id | UpdatedPost))\n    * post url: ((post.url | UpdatedPost))\n\n    * user public name: ((user.nameDisplay | PostAuthor))\n    * user id: ((user.id | PostAuthor))\n    * user email: ((user.email | PostAuthor))\n<\/code><\/pre>\n<p>GitHub: https:\/\/github.com\/Neblabs\/automated-emails-original<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Send custom emails when an action happens on your site, like when a new post is published.<\/p>\n","protected":false},"author":65,"featured_media":237588,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Automated Emails: Send custom emails on actions like post is published or updated - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Send custom emails when an action happens on your site, like when a new post is published."},"footnotes":""},"categories":[1],"tags":[1471,85,822],"class_list":["post-400932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-automation","tag-email","tag-notification"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/400932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=400932"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/400932\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/237588"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=400932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=400932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=400932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}