wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



allowed_http_origins › Filtr WordPress Hooks

Od3.4.0
Przestarzałyn/a
apply_filters( 'allowed_http_origins', $allowed_origins )
Parametry:
  • (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. }
    Wymagane: Tak
Zdefiniowane na:
Codex:

Change the origin types allowed for HTTP requests.





Źródło

return apply_filters( 'allowed_http_origins', $allowed_origins );