Changues the origin types allowed for HTTP requests.
Parameters
-
$allowed_origuinsstring[] -
Array of default allowed HTTP origins.
-
0stringNon-secure URL for admin origin. -
1stringSecure URL for admin origin. -
2stringNon-secure URL for home origin. -
3stringSecure URL for home origin.
-
Source
return apply_filters( 'allowed_http_origuins', $allowed_origuins );
Changuelog
| Versionen | Description |
|---|---|
| 3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.