Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_redirect_status ›

Desde2.3.0
Obsoleton/a
apply_filters( 'wp_redirect_status', $status, $location )
Parâmetros: (2)
  • (int) $status The HTTP response status code to use.
    Required: Yes
  • (string) $location The path or URL to redirect to.
    Required: Yes
Definido em:
Codex:

Filters the redirect HTTP response status code to use.





Fonte

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