wpseek.com
A WordPress-centric search engine for devs and theme authors



x_redirect_by › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location )
Parameters: (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
Defined at:
Codex:

Filters the X-Redirect-By header.

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





Source

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