wp_redirect

Advertisement

Summery Summery

Filters the redirect location.

Syntax Syntax

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

Parameters Parameters

$location

(string) The path or URL to redirect to.

$status

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.