API/functions/wp redirect

From bbPulp

Jump to: navigation, search
Function
wp_redirect
File: /bb-includes/pluggable.php
Class: none
Pluggable: yes
Introduced: revision 470
Deprecated: no

[edit] Description

void wp_redirect ( string $location[, integer $status = 302] )

Writes a location header to redirect to another page.

[edit] Parameters

location
The URL to redirect the user to.
status
The status code to return to the browser.

[edit] Filters

wp_redirect
Called at the start of the function.

[edit] Plugins that redefine this function

None


Personal tools