Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

New redirection method

$
0
0

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>


Viewing all articles
Browse latest Browse all 82367

Trending Articles