x_redirect_by

Advertisement

Summery Summery

Filters the X-Redirect-By header.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$x_redirect_by

(string) The application doing the redirect.

$status

(int) Status code to use.

$location

(string) The path to redirect to.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply