apply_filters( 'allowed_http_origin', string $origin, string $origin_arg )

Change the allowed HTTP origin result.

Parameters

$origin

(string) Origin URL if allowed, empty string if not.

$origin_arg

(string) Original origin string passed into is_allowed_http_origin function.

Source

File: wp-includes/http.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

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