wp_get_referer


wp_get_referer ( No parameters )

Returns:
  • (string|false) Referer URL on success, false on failure.
Defined at:

Description

Retrieves referer from '_wp_http_referer' or HTTP referer.If it's the same as the current request URL, will return false.

Related Functions

wp_get_raw_referer, wp_get_original_referer, wp_get_theme, wp_get_theme_error, wp_get_current_user

Top Google Results

User discussions

wpseek mobile