apply_filters( 'allowed_http_origins', string[] $allowed_origins )
Change the origin types allowed for HTTP requests.
Parameters
- $allowed_origins
-
Array of default allowed HTTP origins.<br>
- (string) Non-secure URL for admin origin.<br>
- '1'
(string) Secure URL for admin origin.<br> - '2'
(string) Non-secure URL for home origin.<br> - '3'
(string) Secure URL for home origin.<br>
Source
File: wp-includes/http.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |