Wp Safe Redirect

// Note: wp_safe_redirect() does not exit automatically,
// and should almost always be followed by a call to exit
// This is for WordPress
<?php
 // $url = string
 wp_safe_redirect( $url );
 exit;
?>

Leave a Comment