wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_redirect › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
apply_filters( 'wp_redirect', $location, $status )
Paramètres: (2)
  • (string) $location The path or URL to redirect to.
    Requis: Oui
  • (int) $status The HTTP response status code to use.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the redirect location.





Source

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