Core Function
View Source on Trac ↗ get_http_origin()
get_http_origin( ) Gets the HTTP Origin of the current request.
Return Value
(string)
URL of the origin. Empty string if no origin.
Function Information
Since Version
3.4.0
Source File
wp-includes/http.php
Advertisement