I think home url not found. And make sure this condition true. if ( $sendStatus ){ }
Please try like this.
<?php wp_redirect( home_url('/thank-you/', 301) ); exit; ?>
I think home url not found. And make sure this condition true. if ( $sendStatus ){ }
Please try like this.
<?php wp_redirect( home_url('/thank-you/', 301) ); exit; ?>