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 );
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.