Used By
Used By | Description |
---|---|
wp-includes/pluggable.php: wp_validate_redirect() | Validates a URL for use in a redirect. |
Filters the list of allowed hosts to redirect to.
(string[]) An array of allowed host names.
(string) The host name of the redirect destination; empty string if not set.
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_redirect_hosts