send_origin_headers Wordpress function


Description:

Send Access-Control-Allow-Origin and related headers if the current request
is from an allowed origin.


Syntax:


Arguments:


Return Type:

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


Define At:

wp-includes/http.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/send_origin_headers


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×