W3cubDocs

/WordPress

apply_filters( ‘http_origin’, string $origin )

Changes the origin of an HTTP request.

Parameters

$originstring
The original origin for the request.

Source

return apply_filters( 'http_origin', $origin );

Changelog

Version Description
3.4.0 Introduced.

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