wphooks.info - http_origin

http_origin

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

wp-includes/http.php:
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
		$origin = $_SERVER['HTTP_ORIGIN'];
	}

	/**
	 * Change the origin of an HTTP request.
	 *
	 * @since 3.4.0
	 *
	 * @param string $origin The original origin for the request.
	 */
	return apply_filters( 'http_origin', $origin );
}

/**
 * Retrieve list of allowed HTTP origins.
 *
 * @since 3.4.0
 *
 * @return array Array of origin URLs.
 */