Skip to content

Instantly share code, notes, and snippets.

@abid112
Created January 8, 2018 10:08

Revisions

  1. abid112 created this gist Jan 8, 2018.
    5 changes: 5 additions & 0 deletions footer.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <script>
    document.addEventListener( 'wpcf7mailsent', function( event ) {
    location = 'http://example.com/';
    }, false );
    </script>