ms_allowed_http_request_hosts


ms_allowed_http_request_hosts ( $is_external, $host )

Parameters:
  • (bool) $is_external
  • (string) $host
Returns:
  • (bool)
Defined at:

Description

Whitelists any domain in a multisite installation for safe HTTP requests.

Attached to the {@see 'http_request_host_is_external'} filter.

Related Functions

allowed_http_request_hosts, is_allowed_http_origin, get_allowed_http_origins, wp_allowed_protocols, rest_validate_request_arg

Top Google Results

User discussions

wpseek mobile