allowed_

最后更新于:2021-11-25 20:23:33

apply_filters( ‘allowed_’, string[] $allowed_origins )

Change the origin types allowed for HTTP requests.

参数

$allowed_origins

(string[])
Array of default allowed HTTP origins.

  • (string) Non-secure URL for admin origin.
  • ‘1’
    (string) Secure URL for admin origin.
  • ‘2’
    (string) Non-secure URL for home origin.
  • ‘3’
    (string) Secure URL for home origin.

源文件

文件: gc-includes/http.php

View on Trac