wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



x_redirect_by › Hooks de Filtros WordPress

Desde5.1.0
Obsoleton/a
apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location )
Parâmetros: (3)
  • (string|false) $x_redirect_by The application doing the redirect or false to omit the header.
    Required: Yes
  • (int) $status Status code to use.
    Required: Yes
  • (string) $location The path to redirect to.
    Required: Yes
Definido em:
Codex:

Filters the X-Redirect-By header.

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





Fonte

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