Filter hook 'allowed_redirect_hosts'

in WP Core File wp-includes/pluggable.php at line 1625

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.
		 */