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



allowed_http_origin ›

Since3.4.0
已弃用n/a
apply_filters( 'allowed_http_origin', $origin, $origin_arg )
参数: (2)
  • (string) $origin Origin URL if allowed, empty string if not.
    Required: Yes
  • (string) $origin_arg Original origin string passed into is_allowed_http_origin function.
    Required: Yes
定义在:
文档:

Change the allowed HTTP origin result.





源码

return apply_filters( 'allowed_http_origin', $origin, $origin_arg );