wp_get_referer
wp_get_referer ( No parameters )
Returns:- (string|false) Referer URL on success, false on failure.
Defined at: - Introduced in WordPress: 2.0.4
- Deprecated in WordPress: —
Description
Retrieves referer from '_wp_http_referer' or HTTP referer.If it's the same as the current request URL, will return false.