wp_redirect

Advertisement

Summery Summery

Filters the redirect location.

Syntax Syntax

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

Parameters Parameters

$location

The path or URL to redirect to.

$status

The HTTP response status code to use.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply