A WordPress-centric search engine for devs and theme authors



allowed_http_origins ›

Since3.4.0
Deprecatedn/a
apply_filters( 'allowed_http_origins', $allowed_origins )
Parameters:
  • (array) $allowed_origins { Default allowed HTTP origins. @type string Non-secure URL for admin origin. @type string Secure URL for admin origin. @type string Non-secure URL for home origin. @type string Secure URL for home origin. }
    Required: Yes
Defined at:
Codex:

Change the origin types allowed for HTTP requests.





Source

return apply_filters( 'allowed_http_origins', $allowed_origins );