wpseek.com
A WordPress-centric search engine for devs and theme authors



allowed_http_origins › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'allowed_http_origins', $allowed_origins )
Parameters:
  • (string[]) $allowed_origins { Array of default allowed HTTP origins. @type string $0 Non-secure URL for admin origin. @type string $1 Secure URL for admin origin. @type string $2 Non-secure URL for home origin. @type string $3 Secure URL for home origin. }
    Required: Yes
Defined at:
Codex:

Changes the origin types allowed for HTTP requests.





Source

return apply_filters( 'allowed_http_origins', $allowed_origins );