x_redirect_by

SummerySummery

Filters the X-Redirect-By header.

Syntax

apply_filters( 'x_redirect_by', string $x_redirect_by, int $status, string $location )

DescriptionDescription

Allows applications to identify themselves when they’re doing a redirect.

ParametersParameters

$x_redirect_by

(string) The application doing the redirect.

$status

(int) Status code to use.

$location

(string) The path to redirect to.

SourceSource

File: wp-includes/pluggable.php

ChangelogChangelog

Changelog
Version Description
5.1.0 Introduced.
Scroll to Top