W3cubDocs

/WordPress

apply_filters( 'http_origin', string $origin )

Change the origin of an HTTP request.

Parameters

$origin

(string) The original origin for the request.

Source

File: wp-includes/http.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/http_origin