Home Forums General Issues Trigger Email After File Upload


Trigger Email After File Upload

  • My client has a group directory that is updated quarterly. I have used ACF Options to give them a simple place to upload that file (and then I can pull that link for the dashboard, etc.)

    Client has now requested that all users receive an email when the file is uploaded.

    I assume that I just hook into acf/save_post, but ..
    – How do I test what triggered this (only send emails when that particular field updates)?

  • Hi @Kracke

    You can use a filter called acf/update_value (please read the docs to learn more) to hook into a value being updated.

    You can use this to fire the email function only when your file fields is updated.


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Trigger Email After File Upload’ is closed to new replies.