On this page
apply_filters( 'allowed_http_origin', string $origin, string $origin_arg )
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
File: wp-includes/http.php. View all references
return apply_filters( 'allowed_http_origin', $origin, $origin_arg );
Related
Used By
| Used By | Description |
|---|---|
| is_allowed_http_origin() wp-includes/http.php | Determines if the HTTP origin is an authorized one. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_http_origin