Replies: 0
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/’;
}, false );
</script>