Changes 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
return apply_filters( 'allowed_http_origin', $origin, $origin_arg );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.