On this page
apply_filters( 'wp_redirect_status', int $status, string $location )
Filters the redirect HTTP response status code to use.
Parameters
$statusint-
The HTTP response status code to use.
$locationstring-
The path or URL to redirect to.
Source
File: wp-includes/pluggable.php. View all references
$status = apply_filters( 'wp_redirect_status', $status, $location );
Related
Used By
| Used By | Description |
|---|---|
| wp_redirect() wp-includes/pluggable.php | Redirects to another page. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_redirect_status