wp_redirect_status

Advertisement

Summery Summery

Filters the redirect HTTP response status code to use.

Syntax Syntax

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

Parameters Parameters

$status

(int) The HTTP response status code to use.

$location

(string) The path or URL to redirect to.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply

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