http_origin

过滤钩子


apply_filters( 'http_origin', $origin )
参数
  • (string)
    $origin
    The original origin for the request.
    Required: 是
定义位置
  • wp-includes/http.php
    , line 409
引入
3.4.0
弃用
–

Change the origin of an HTTP request.

return apply_filters( 'http_origin', $origin );