WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about allowed_redirect_hosts

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 1600 /**
* 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.
*/

Hook Parameters

Parameter 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.