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



x_redirect_by › WordPress Filter Hooks

Seit5.1.0
Veraltetn/v
apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location )
Parameter: (3)
  • (string|false) $x_redirect_by The application doing the redirect or false to omit the header.
    Erforderlich: Ja
  • (int) $status Status code to use.
    Erforderlich: Ja
  • (string) $location The path to redirect to.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the X-Redirect-By header.

Allows applications to identify themselves when they're doing a redirect.





Quellcode

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