wp_get_raw_referer
wp_get_raw_referer ( No parameters )
Returns:- (string|false) Referer URL on success, false on failure.
Defined at: - Introduced in WordPress: 4.5.0
- Deprecated in WordPress: —
Description
Retrieves unvalidated referer from the '_wp_http_referer' URL query variable or the HTTP referer.If the value of the '_wp_http_referer' URL query variable is not a string then it will be ignored.
Do not use for redirects, use wp_get_referer() instead.