Changes the origin types allowed for HTTP requests.
$allowed_originsstring[]
0 string1 string2 string3 stringreturn apply_filters( 'allowed_http_origins', $allowed_origins );
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_http_origins