is_allowed_http_origin


is_allowed_http_origin ( $origin = null )

Parameters:
  • (null|string) $origin Origin URL. If not provided, the value of get_http_origin() is used.
Returns:
  • (string) Origin URL if allowed, empty string if not.
Defined at:

Description

Determines if the HTTP origin is an authorized one.

Related Functions

get_allowed_http_origins, get_http_origin, ms_allowed_http_request_hosts, allowed_tags, allowed_http_request_hosts

Top Google Results

User discussions

wpseek mobile