How to Use wp_redirect in WordPress
You can find the wp_redirect function in the
wp-includes/pluggable.php file with several other helper functions. The job of this function is to redirect your WordPress site to another page. For example, you can use this function to redirect from one page to another based on some condition or your specific need. You may also use it to redirect users to an external website. Find out more about how to use wp_redirect in WordPress from Pius Aboyi on Request Metric’s blog.
How To Get Started With TypeScript in Node.js