wp_sanitize_redirect


wp_sanitize_redirect ( $location )

Parameters:
  • (string) location The path to redirect to.
Returns:
  • (string) Redirect-sanitized URL.
Defined at:

Description

Sanitizes a URL for use in a redirect.

Related Functions

wp_safe_redirect, wp_validate_redirect, wp_redirect, sanitize_user_object, auth_redirect

Top Google Results

User discussions

wpseek mobile