apply_filters( 'wp_redirect', string $location , int $status )
Filters the redirect location.
Parameters
- $location
-
The path or URL to redirect to.
- $status
-
The HTTP response status code to use.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |