On this page
apply_filters( 'x_redirect_by', string $x_redirect_by, int $status, string $location )
Filters the X-Redirect-By header.
Description
Allows applications to identify themselves when they’re doing a redirect.
Parameters
$x_redirect_bystring-
The application doing the redirect.
$statusint-
Status code to use.
$locationstring-
The path to redirect to.
Source
File: wp-includes/pluggable.php. View all references
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
Related
Used By
| Used By | Description |
|---|---|
| wp_redirect() wp-includes/pluggable.php | Redirects to another page. |
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/x_redirect_by