WordPress.org

Forums

Edit Flow
[resolved] Customize Edit Flow email notifications (2 posts)

  1. web559
    Member
    Posted 2 years ago #

    What would be the best way to customize the email notifications in Edit Flow? As far as I can tell it's not a built-in feature, but is there (or could there be) a hook for it, or is there a least worst way for me to edit the code?

    I basically want to customize the notification based on two things—the status (i.e., use different email templates for different statuses), and the post information (e.g., include custom fields, post content, or taxonomy terms in the notification).

    Thanks for an amazing plugin.

    http://wordpress.org/extend/plugins/edit-flow/

  2. cojennin
    Member
    Plugin Author

    Posted 2 years ago #

    I haven't actually messed around with these yet to see how much you can tweak, but there are three filters you should be able to use to modify the subject, message and message headers.

    They are as follows:
    'ef_notification_send_email_subject'
    'ef_notification_send_email_message'
    'ef_notification_send_email_message_headers'

    If you want to take a look at where they are in the code, check out the notifications module.

    Hopefully that helps. Feel free to post back here if you're running into any problems and I'll see what I can do to assist.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags