allowed_redirect_hosts

最后更新于:2021-11-25 20:24:08

apply_filters( ‘allowed_redirect_hosts’, string[] $hosts, string $host )

Filters the list of allowed hosts to redirect to.

参数

$hosts

(string[])
An array of allowed host names.

$host

(string)
The host name of the redirect destination; empty string if not set.

源文件

文件: gc-includes/pluggable.php

View on Trac