Filter hook 'allowed_http_origin'

in WP Core File wp-includes/http.php at line 501

Description

Changes the allowed HTTP origin result.

Occurrences

Filename Line Number
wp-includes/http.php 501

Parameters

Type Name Description
string $origin Origin URL if allowed, empty string if not.
string $origin_arg Original origin string passed into is_allowed_http_origin function.

PHP Doc

/**
	 * Changes the allowed HTTP origin result.
	 *
	 * @since 3.4.0
	 *
	 * @param string $origin     Origin URL if allowed, empty string if not.
	 * @param string $origin_arg Original origin string passed into is_allowed_http_origin function.
	 */