wordpress / latest / hooks / http_origin.html

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 all references

return apply_filters( 'http_origin', $origin );

Used By

Used By Description

Changelog

Version Description
3.4.0 Introduced.

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