Un motore di ricerca WordPress per sviluppatori e autori di temi



allowed_http_origins ›

Da3.4.0
Deprecaton/a
apply_filters( 'allowed_http_origins', $allowed_origins )
Parametri:
  • (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. }
    Richiesto:
Definito a:
Codex:

Change the origin types allowed for HTTP requests.





Sorgenti

return apply_filters( 'allowed_http_origins', $allowed_origins );