apply_filters( ‘allowed_http_origin’, string $origin, string $origin_arg )

In this article

Change the allowed HTTP origin result.

Parameters

$originstring
Origin URL if allowed, empty string if not.
$origin_argstring
Original origin string passed into is_allowed_http_origin function.

Source

return apply_filters( 'allowed_http_origin', $origin, $origin_arg );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.