wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



allowed_http_origins › Les Filtres WordPress

Depuis3.4.0
Dépréciéen/a
apply_filters( 'allowed_http_origins', $allowed_origins )
Paramètres:
  • (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. }
    Requis: Oui
Défini(e) dans:
Codex:

Change the origin types allowed for HTTP requests.





Source

return apply_filters( 'allowed_http_origins', $allowed_origins );