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. | |
} |
@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
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.
Submission.php -> action