WordPress at a glance
filter is not described

x_redirect_by filter-hook . WP 5.1.0

Filters the X-Redirect-By header.

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


add_filter( 'x_redirect_by', 'filter_function_name_9124', 10, 3 );
function filter_function_name_9124( $x_redirect_by, $status, $location ){
	// filter...

	return $x_redirect_by;
The application doing the redirect.
Status code to use.
The path to redirect to.

Where the hook is called

wp-includes/pluggable.php 1249
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );

Where the hook is used (in WP core)

Использование не найдено.