Filter hook 'x_redirect_by'

in WP Core File wp-includes/pluggable.php at line 1433

Description

Filters the X-Redirect-By header. Allows applications to identify themselves when they're doing a redirect.

Occurrences

Filename Line Number
wp-includes/pluggable.php 1433

Parameters

Type Name Description
string|false $x_redirect_by The application doing the redirect or false to omit the header.
int $status Status code to use.
string $location The path to redirect to.

PHP Doc

/**
		 * Filters the X-Redirect-By header.
		 *
		 * Allows applications to identify themselves when they're doing a redirect.
		 *
		 * @since 5.1.0
		 *
		 * @param string|false $x_redirect_by The application doing the redirect or false to omit the header.
		 * @param int          $status        Status code to use.
		 * @param string       $location      The path to redirect to.
		 */