Home › Forums › ACF PRO › Forms no longer working › Reply To: Forms no longer working
It doesn’t seem like the redirect value is cached. Looking at the code you can see that it simply uses wp_redirect()
with a default status of 302:
/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-front.php
acf_form_front::submit_form() LN 451
// redirect
if( $return ) {
// update %placeholders%
$return = str_replace('%post_id%', $post_id, $return);
$return = str_replace('%post_url%', get_permalink($post_id), $return);
// redirect
wp_redirect( $return );
exit;
}
Whatever is caching the redirect it doesn’t seem like it would be Advanced Custom Fields. Could it be another plugin or theme function interfering?
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.