apply_filters( 'wp_redirect', string $location , int $status )
Filters the redirect location.
Parameters
-
$location
string -
The path or URL to redirect to.
-
$status
int -
The HTTP response status code to use.
Source
File: wp-includes/pluggable.php
.
View all references
$location = apply_filters( 'wp_redirect', $location, $status );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |