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

Filters the redirect status code.


Parameters

$status

Status code to use.

$location

The path to redirect to.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.