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

Filters the redirect status code.


Parameters

$status

(int) Status code to use.

$location

(string) The path to redirect to.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.