Created
October 10, 2016 19:56
-
-
Save kjohnson/5457d25b234add009f415320d051c990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'ninja_forms_after_submission', 'my_ninja_forms_after_submission' ); | |
function my_ninja_forms_after_submission( $form_data ){ | |
// Do stuff. | |
} |
I'm having the same problem.
In my case, I try to redirect to another page after_submission hook, with the form value params from the server side, because if i use redirect with key-value params doesnt have any security.
Please help
This is because the action is misleading.
The action is called at the end during the AJAX submission request.
So everything you echo will be in the returning answer and will probably break it.
@kyle I have same exact problem. I tried executing a function using this hook that doesn't return anything, some the button just stay on processing condition. When I check the network request I can still see thank you message in there http://take.ms/UdJed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@BogusException and @kyle, I am having the same issue. Please help.
Thank you,
Joe