apply_filters( 'allowed_redirect_hosts', string[] $hosts , string $host )
Filters the list of allowed hosts to redirect to.
Parameters
- $hosts
-
An array of allowed host names.
- $host
-
The host name of the redirect destination; empty string if not set.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |