Filter hook 'wp_redirect_status'

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

Description

Filters the redirect HTTP response status code to use.

Occurrences

Filename Line Number
wp-includes/pluggable.php 1406

Parameters

Type Name Description
int $status The HTTP response status code to use.
string $location The path or URL to redirect to.

PHP Doc

/**
		 * Filters the redirect HTTP response status code to use.
		 *
		 * @since 2.3.0
		 *
		 * @param int    $status   The HTTP response status code to use.
		 * @param string $location The path or URL to redirect to.
		 */