Support

Account

Home Forums ACF PRO send mail after REST post

Solving

send mail after REST post

  • Hi,
    I still use the ACF to REST plugIn – no problems so far.

    My problem: I would like to create an email if an ACF record was changed (a new repeater field entry was added) by a POST request to the REST API. I found no hook to add my send mail function.

    Thanks for any ideas!
    Detlef

  • no idea how to trigger an email if any ACF record get’s an update through an external REST request? There has to be a hook to place my function…

    Thanks!

  • The WP save_post hook is triggered whenever a post or page is created or updated.

    I have no idea if this applies to REST, but it should.

  • Hi John,

    no save_post will not fire but rest_post_dispatch is a way to go.
    Thanks for your help.

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

You must be logged in to reply to this topic.