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

Filters the redirect HTTP response status code to use.


Parameters

$status

The HTTP response status code to use.

$location

The path or URL to redirect to.


Source

File: wp-includes/pluggable.php

View on GitHub


Changelog

Changelog
Version Description
2.3.0 Introduced.