Support

Account

Home Forums ACF PRO Action hook when specific field changes Reply To: Action hook when specific field changes

  • @acf-support You’ve replied to my question here:

    https://support.advancedcustomfields.com/forums/topic/field-updates-after-post-update

    but I believe your given option in your first reply here above would be exactly what I need… I guess.

    Am I correct?

    What I want to accomplish:

    – A visitor makes a booking > A pending post is make with the booking fields filled in inside (booking status is auto set to PENDING) > Admin sets booking status to CONFIRMED > Email to the customer is being send.

    I thought your code would be just what I needed but no email is being send…

    This is what should happen when OLD and NEW value do not match:

    wp_mail( $to, $subject, $body, $headers );