is_allowed_http_origin


is_allowed_http_origin ( $origin = null )

Parameters:
  • (string|null) 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, add_allowed_options, allowed_tags

Top Google Results

User discussions

wpseek mobile