• I’m wondering how to redirect CF7 after submit, but not using on_sent_ok as it will be deprecated this year.

    I’ve read something at official page but I would like to achieve something using PHP.

    Any idea?

    `<script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    location = ‘http://example.com/&#8217;;
    }, false );
    </script>

The topic ‘New redirection method’ is closed to new replies.