apply_filters( 'allowed_redirect_hosts', array $hosts, bool|string $host )

Filters the whitelist of hosts to redirect to.


Parameters

$hosts

An array of allowed hosts.

$host

The parsed host; empty if not isset.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.