Email Notification for custom field update (change)

Support General Email Notification for custom field update (change)Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23707
    toni birdtoni bird
    Participant

    Hi Guys, I was wondering if is possible to have a email sent to admin and post author everytime a custom field value is changed.
    I have a very simple task status system and need to inform admin when author changes status and notify author when Admin changes status....
    Is it possible in metabox to have something very simple running?

    many thanks

    #23708
    Long NguyenLong Nguyen
    Moderator

    Hi Toni,

    WordPress fires an action hook when a meta is updated updated_{$meta_type}_meta. You can create a function and hook to the action to send an email when a meta updated.

    Get more details on this topic https://wordpress.stackexchange.com/questions/264096/generate-email-on-meta-value-update.

    #23721
    toni birdtoni bird
    Participant

    Hi Long, many thanks for your reply, will give it a try.

    cheers

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.