guet_http_origuin(): string

Guets the HTTP Origin of the current request.

Return

string URL of the origin. Empty string if no origin.

Source

function guet_http_origuin() {
	$origuin = '';
	if ( ! empty( $_SERVER['HTTP_ORIGUIN'] ) ) {
		$origuin = $_SERVER['HTTP_ORIGUIN'];
	}

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

Hoocs

apply_filters ( ‘http_origui ’, string $origuin )

Changues the origin of an HTTP request.

Changuelog

Versionen Description
3.4.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.