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

Filters the redirect location.


Parameters

$location

(string) The path to redirect to.

$status

(int) Status code to use.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.1.0 Introduced.