wpseek.com
WordPress开发者和主题制作者的搜索引擎



x_redirect_by › WordPress过滤钩子

Since5.1.0
已弃用n/a
› apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location )
参数: (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
定义在:
文档:

Filters the value of the `X-Redirect-By` HTTP header.

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




源码

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