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

Change the allowed HTTP origin result.


Parameters

$origin

Origin URL if allowed, empty string if not.

$origin_arg

Original origin string passed into is_allowed_http_origin function.


Source

File: wp-includes/http.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.4.0 Introduced.