Re-Open a Popup On Form Submission
When a form doesn't support AJAX Submission, this code is needed to re-open the form. You'll most likely want this so users can see form submit "success" messages. Otherwise, the user might not know if their submission got processed correctly, or if there was an error with their submission.
$_POST key and value in the code below will vary based on your form and will need to be replaced.
Also, make sure you replace the "123" with your proper popup ID # found on the All Popup Screen.
You can add the PHP code snippet to your child theme's
functions.php file or with a third-party plugin such as My Custom Functions.
View the source on GitHub.