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

Filters the redirect location.


Parameters Parameters

$location

(string) The path or URL to redirect to.

$status

(int) The HTTP response status code to use.


Top ↑

Source Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.