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.

Top ↑

Source

File: wp-includes/http.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

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