@acf-support You’ve replied to my question here:
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!