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



wp_redirect › WordPress Filter Hooks

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

Filters the redirect location.





Quellcode

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