Answers for "where to find safe redirect wordpress"

PHP
1

wp safe redirect

<?php
// 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;
?>
Posted by: Guest on April-06-2021

Code answers related to "where to find safe redirect wordpress"

Browse Popular Code Answers by Language