Post-Status change detection for Email Post Changes 1.7
Had to enhance Email Post Changes 1.7 for a project to also send email for changes of
$post->post_status, like “Draft” to “Published” or similar without other changes in post.
Maybe somebody else wants to use this functionality, so I am sharing it here. To the plugin author(s), feel free to use (parts of) the code in future releases.
class.email-post-changes.phpreplace the current
function post_updated(..)with the new code-block from Pastebin.
All changes are marked with
Note: The new code-block also contains a new
function nice_post_status(..)which goes right after
Thanks for the great plugin.
- The topic ‘Post-Status change detection for Email Post Changes 1.7’ is closed to new replies.