wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_redirect › Filtr WordPress Hooks

Od2.1.0
Przestarzałyn/a
apply_filters( 'wp_redirect', $location, $status )
Parametry: (2)
  • (string) $location The path or URL to redirect to.
    Wymagane: Tak
  • (int) $status The HTTP response status code to use.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the redirect location.





Źródło

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