wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_redirect_status › WordPress Filter Hooks

Seit2.3.0
Veraltetn/v
apply_filters( 'wp_redirect_status', $status, $location )
Parameter: (2)
  • () status The HTTP response status code to use.
    Erforderlich: Ja
  • () location The path or URL to redirect to.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the redirect HTTP response status code to use.





Quellcode

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