allowed_redirect_hosts

Advertisement

Summery Summery

Filters the whitelist of hosts to redirect to.

Syntax Syntax

apply_filters( 'allowed_redirect_hosts', string[] $hosts, string $host )

Parameters Parameters

$hosts

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

$host

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

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.