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!
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…
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.
no save_post will not fire but rest_post_dispatch is a way to go.
Thanks for your help.