Home › Forums › ACF PRO › Redirect Form to variable External URL › Reply To: Redirect Form to variable External URL
Thanks for the help. But it’s still not redirecting with:
add_filter('acf/save_post', 'stripe_payment_redirect', 20);
I’ve tried removing the if statement and it still doesn’t redirect to payment.
I need some sort of if statement though because I have the ability for users to edit the submitted post. And I do not want the redirect to fire when they are only editing.
The strange thing is; when the if statement is removed; that when editing the submitted post, the redirect works?!
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.