is_allowed_http_origin
is_allowed_http_origin ( $origin = null )
Parameters:- (string) $origin Origin URL. If not provided, the value of get_http_origin() is used.
Returns:- (bool) True if the origin is allowed. False otherwise.
Defined at: - Introduced in WordPress: 3.4.0
- Deprecated in WordPress: -
Description
Determines if the http origin is an authorized one.