• Resolved web559

    (@web559)


    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.

    https://www.ads-software.com/extend/plugins/edit-flow/

Viewing 1 replies (of 1 total)
  • cojennin

    (@comradefuzz)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Customize Edit Flow email notifications’ is closed to new replies.