wp_redirect_status

SummerySummery

Filters the redirect HTTP response status code to use.

Syntax

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

ParametersParameters

$status

(int) The HTTP response status code to use.

$location

(string) The path or URL to redirect to.

SourceSource

File: wp-includes/pluggable.php

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top