Contact Form 7 Redirect

add_action( 'wp_footer', 'mycustom_wp_footer' ); function mycustom_wp_footer() { ?> document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '4423' == event.detail.contactFormId ) { location = 'https://secova.com/thank-you-demo'; } if ( '4513' ==...