Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kevinhaig

    (@kevinhaig)

    sorry no there isn’t

    Thread Starter WordMonkey25

    (@wordmonkey25)

    Surely there is a way to edit the code to create this function, no? From Katb_shortcodes line #378

    if( isset($_SESSION[‘katb_submitted’]) && $_SESSION[‘katb_submitted’] == SHA1(‘true’) && $correct_form == true ) {

    if( $use_popup == 1 ){ ?>
    <script><?php echo ‘alert(“‘.esc_html__(“Testimonial Submitted – Thank You!”,”testimonial-basics”).'”)’; ?></script>
    <?php } else {
    $input_html .= ‘<span class=”katb_test_sent”>’.esc_html__(‘Testimonial Submitted – Thank You!’,’testimonial-basics’).'</span>’;
    }

    $_SESSION[‘katb_submitted’] = SHA1(‘false’);

    }

    Plugin Author kevinhaig

    (@kevinhaig)

    You are free to modify the code as you wish.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect after submission?’ is closed to new replies.