Pods Framework for WordPress
Home » Topics » Pods 1.x » Does wp_redirect work inside a post-save helper? (public_form)
This topic contains 5 replies, has 3 voices, and was last updated by Kamil Grzegorczyk (Owi) 2 years, 2 months ago.
I have the following inside a post-save helper:
the email sends just fine, but the redirect does not happen. This is on a public form.
Should this work?
Is there a better way to do this?
maybe try with
nope, that didn’t work.
Try removing exit;
In my opinion if post-save helper is called by ajax there is no way to redirect whole script without rebuilding ajax function to check whether soem parameter was passed from post-save helper and make a redirect
IF its called using AJAX then try something like this:
go to pods/ui/js/pods.ui.js
and change it for
and in Your post save helper echo particular url like
still a theory but it should work
You must be logged in to reply to this topic.