WPDev.one
Core Function
View Source on Trac ↗

send_origin_headers()

send_origin_headers( )

Sends Access-Control-Allow-Origin and related headers if the current request

Return Value

((string)
(string | false) Returns the origin URL if headers are sent. Returns false if headers are not sent.

Function Information

Since Version
3.4.0
Source File
wp-includes/http.php
Advertisement