From c752ba3fd92f3e47319fa68328592dc15051d523 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 10 Feb 2017 14:29:54 -0500 Subject: [PATCH] adding function to refresh the golf show form after 5 seconds up on the form being submitted --- functions.php | 10 +++++++++- page.php | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index f6f32e6..9b2de02 100644 --- a/functions.php +++ b/functions.php @@ -522,7 +522,15 @@ function mountpleasant_empty_cart() $woocommerce->cart->empty_cart(); } } - +add_action( 'gform_after_submission_17', 'after_submission', 10, 2 ); +function after_submission(){ + function thankyou_reload(){ ?> + + +
-- 2.17.1