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)
  • () x_redirect_by The application doing the redirect or false to omit the header.
    Required: Yes
  • () status Status code to use.
    Required: Yes
  • () location The path to redirect to.
    Required: Yes
Definido em:
Codex:

Filters the value of the `X-Redirect-By` HTTP 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 );