Changes the allowed HTTP origin result.
$originstring$origin_argstringwp-includes/http.php:494is_allowed_http_origin() * * @since 3.4.0 * * @param string $origin Origin URL if allowed, empty string if not. * @param string $origin_arg Original origin string passed into is_allowed_http_origin function. */ return apply_filters( 'allowed_http_origin', $origin, $origin_arg );} /** * Sends Access-Control-Allow-Origin and related headers if the current request * is from an allowed origin. *Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.