A WordPress-centric search engine for devs and theme authors



wp_redirect_status ›

Since2.3.0
Deprecatedn/a
apply_filters( 'wp_redirect_status', $status, $location )
Parameters: (2)
  • (int) $status The HTTP response status code to use.
    Required: Yes
  • (string) $location The path or URL to redirect to.
    Required: Yes
Defined at:
Codex:

Filters the redirect HTTP response status code to use.





Source

$status = apply_filters( 'wp_redirect_status', $status, $location );