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

Filters the redirect location.


Parameters

$location

The path or URL to redirect to.

$status

The HTTP response status code to use.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
2.1.0 Introduced.