• Resolved James Morton

    (@stylishjm)


    Hi,

    I’d like to fire an email out upon POST. THis email would include some of the fields.

    I’ve tried using acf/save_post however this doesn’t work unless I go into the newly created post and click Update.

    Are there any actions which I can use once the POST containing acf data is complete?

Viewing 1 replies (of 1 total)
  • Plugin Author airesvsg

    (@airesvsg)

    Hi @stylishjm,
    At this time there is no action to indicate that was saved, but has a filter that runs before saving. See below:

    add_action(‘acf/rest_api/post/prepare_item’, function($item, $request){
    // do something
    }, 10, 2);

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Actions?’ is closed to new replies.