Description
Filters the list of allowed hosts to redirect to.
Occurrences
Filename | Line Number |
---|---|
wp-includes/pluggable.php | 1625 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $hosts | An array of allowed host names. |
string | $host | The host name of the redirect destination; empty string if not set. |
PHP Doc
/**
* Filters the list of allowed hosts to redirect to.
*
* @since 2.3.0
*
* @param string[] $hosts An array of allowed host names.
* @param string $host The host name of the redirect destination; empty string if not set.
*/