WordPress at a glance
function is not described

wp_get_raw_referer() WP 4.5.0

Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer.

Do not use for redirects, use wp_get_referer() instead.

No Hooks.

Return

String/false. Referer URL on success, false on failure.

Usage

wp_get_raw_referer();

Code of wp get raw referer: wp-includes/functions.php VER 5.1.1

<?php
function wp_get_raw_referer() {
	if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
		return wp_unslash( $_REQUEST['_wp_http_referer'] );
	} elseif ( ! empty( $_SERVER['HTTP_REFERER'] ) ) {
		return wp_unslash( $_SERVER['HTTP_REFERER'] );
	}

	return false;
}