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

The HTTP response status code to use.

$location

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