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

Filters the redirect location.


Parameters

$location

The path to redirect to.

$status

Status code to use.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.1.0 Introduced.