get_http_origin()
get_http_origin()
获取当前请求的HTTP源。
Get the HTTP Origin of the current request.
返回(Return)
(string)源的URL。如果没有原点,则为空string。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.4.0 | wp-includes/http.php:393 | 3 | 2 |
get_http_origin() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_http_origin/