WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_redirect

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 1377 /**
* Filters the redirect location.
*
* @since 2.1.0
*
* @param string $location The path or URL to redirect to.
* @param int $status The HTTP response status code to use.
*/

Hook Parameters

Parameter Type Name Description
string $location The path or URL to redirect to.
int $status The HTTP response status code to use.